[Haskell-cafe] Missing `$` like operators in Haskell
johan.tibell at gmail.com
Fri Dec 12 13:22:16 UTC 2014
Everything doesn't have to have an operator! We use operators a bit too
much. It hurts readability of code when lines start looking like APL.
On Fri, Dec 12, 2014 at 2:15 PM, Wojtek Narczyński <wojtek at power.com.pl>
> On 12.12.2014 03:58, Dan Burton wrote:
> The lens package defines (&) and (<&>) as flipped ($) and (<$>),
> respectively. There is nothing in the base package that defines those. <&>
> is quite uncommon. Flipped ($) is something that crops up here and there.
> Sometimes called (|>), or (#).
> A the bottom.
> -- /Since: 220.127.116.11/
> (&) :: a -> (a -> b) -> b
> x & f = f x
> I learned about it from #haskell channel.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe