[Haskell-cafe] Syntax proposal for "reverse apply"/"pipeline apply" (flip ($))

Alexander Berntsen alexander at plaimi.net
Thu Apr 17 19:12:23 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 17/04/14 20:05, Clark Gaebel wrote:
> Last I checked,
> 
> (&) = flip ($)
> 
> is both shorter to type, and more explicit than:
> 
> import Control.Apply.Reverse
There is no reason to use a library for making a reverse compose
operator. The discussion should rather be whether this is worthwhile
and interesting to add to prelude.

- -- 
Alexander
alexander at plaimi.net
https://secure.plaimi.net/~alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF0EAREIAAYFAlNQJ5cACgkQRtClrXBQc7Ut3AD+LUk9sfgw73IL7agSHOf4dstg
uJlKi7yUHTiX8RrYbdIA9R6DFKXr8BITDUFIjM1Q4kBM1umQdlfsuKF4a01nIs0=
=WNYj
-----END PGP SIGNATURE-----


More information about the Haskell-Cafe mailing list