[Haskell-beginners] Lifting infix functions in applicative style

Bastian Erdnüß earthnut at web.de
Fri Nov 5 20:33:39 EDT 2010

When I want to lift an infix function into an applicative functor I use 'liftA2' -- I just call it 'up' for the sake of brevity.  But I always have to add some parenthesis since I don't know how to tell Haskel that `up op` shall have the same fixity as `op` has.  Is there a way to do that?


More information about the Beginners mailing list