Proposal: Add (&) to Data.Function
Edward Kmett
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:
> Hi,
>
> 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 ;)
-Edward
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20121120/9a9149e7/attachment.htm>
More information about the Libraries
mailing list