Hi All,

I have this in my code:

infixl 6 ~+, ~-
f ~+ g = \p -> f p + g p
f ~- g = \p -> f p - g p

but I feel that the prelude must have already taken care of such things. What's the proper way to do it?

Thanks in advance,
Adrian.