<div dir="ltr">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 (#).<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">-- Dan Burton</div></div>
<br><div class="gmail_quote">On Thu, Dec 11, 2014 at 6:47 PM, Clinton Mead <span dir="ltr"><<a href="mailto:clintonmead@gmail.com" target="_blank">clintonmead@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><font face="courier new, monospace" style="font-size:13px">Below are the `$` like operators in Haskell (view in fixed width):<br><br></font><div style="font-size:13px"><font face="courier new, monospace">          ---------------------------------------------------------------------</font></div><div style="font-size:13px"><font face="courier new, monospace">          | Function first           | Op   | Function second          | Op   |</font></div><div style="font-size:13px"><font face="courier new, monospace">-------------------------------------------------------------------------------</font></div><div style="font-size:13px"><font face="courier new, monospace">| Plain   | (a -> b)   -> a   -> b   | $    | a   -> (a -> b)   -> b   |      |</font></div><div style="font-size:13px"><font face="courier new, monospace">| Functor | (a -> b)   -> f a -> f b | <$>  | f a -> (a -> b)   -> f b |      |</font></div><div style="font-size:13px"><font face="courier new, monospace">| Applicat| f (a -> b) -> f a -> f b | <*>  | f a -> f (a -> b) -> f b | <**> |</font></div><div style="font-size:13px"><font face="courier new, monospace">| Monad   | (a -> m b) -> m a -> m b | =<<  | m a -> (a -> m b) -> m b | >>=  |</font></div><div style="font-size:13px"><font face="courier new, monospace">-------------------------------------------------------------------------------</font></div><div style="font-size:13px"><br></div><div style="font-size:13px"><font face="courier new, monospace">The "function second" forms I couldn't find for "plain" and "functor". </font></div><div style="font-size:13px"><font face="courier new, monospace">What are the most common operators to used in these places?</font></div></div>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>