[Haskell-beginners] numerical types, the $ operator

Brent Yorgey byorgey at seas.upenn.edu
Sun Mar 29 19:19:26 EDT 2009


On Sun, Mar 29, 2009 at 06:02:14PM -0500, Zachary Turner wrote:
> On Sun, Mar 29, 2009 at 5:53 PM, Zachary Turner <divisortheory at gmail.com>wrote:
> 
> > I redefined it because I actually have no idea if F# has a similar
> > operator.  Does it?
> 
> 
> Doh, I actually meant to say I have no idea if Haskell has a similar
> operator.

Not defined in the standard libraries.  There is, however, the (>>>)
operator (from Control.Arrow) which composes functions in the opposite
order.  But then you still have to put the value the functions are
applied to at the end.  I like your (|>) operator.

-Brent


More information about the Beginners mailing list