Proposal: Add (&) to Data.Function

John Wiegley johnw at fpcomplete.com
Wed Nov 21 19:47:43 CET 2012


>>>>> Brent Yorgey <byorgey at seas.upenn.edu> writes:

> As others have mentioned, diagrams already uses (#) for reverse application
> (but with a high precedence instead of low).  We also already use (&) for
> something else -- namely constructing literal points and vectors, e.g. (1 &
> 2) or (3 & 0 & 4).  But these are fairly minor considerations.  I'm still in
> favor of the proposal (especially given that (&) will not be exported by the
> Prelude).

If we get & in Data.Function, might we also want to add <&> to
Control.Applicative as a flipped fmap?

-- 
John Wiegley
FP Complete                         Haskell tools, training and consulting
http://fpcomplete.com               johnw on #haskell/irc.freenode.net



More information about the Libraries mailing list