Hi all!

When working with Applicative, I often find myself defining and using
this operator:

(<%>) :: (Applicative f) => f (a -> b) -> a -> f b
f <%> x = f <*> pure x

and always keep wondering whether it is already known by another name.

Can't find it in Control.Applicative. Hoogle didn't give me much either.


NB: In general, there's a weird obstacle I notice when writing Haskell:
 the unshakable feeling that whatever I write, there's already a better
 name for it and a more elegant implementation lying around. It can get
 downright paralyzing at times *shudder*

Have Fun,
-- 
Ariel J. Birnbaum

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to