Proposal: Add (&) to Data.Function
ekmett at gmail.com
Tue Nov 20 20:16:22 CET 2012
On Tue, Nov 20, 2012 at 2:10 PM, Johan Tibell <johan.tibell at gmail.com>wrote:
> On Tue, Nov 20, 2012 at 11:02 AM, John Wiegley <johnw at fpcomplete.com>wrote:
>> I think |>= and |>~ would just be unfortunate, and lens is likely to be
>> one of
>> the biggest users of this new operator (at least at this point in time).
> I think the biggest user will be Haskell code in general, because you can
> now use |> instead of ".", so we should be optimizing for that, not for any
> particular library.
Great! And using & instead of the longer line-noisier identifier cuts down
on the visual clutter in that code tremendously. =P
$ is one symbol. & is one symbol.
("hello","world" ) & fst & length
grows on you ;)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libraries