[Haskell-cafe] Function composition confusion

Benjamin Franksen benjamin.franksen at bessy.de
Wed Apr 27 12:52:36 EDT 2005


On Wednesday 27 April 2005 15:46, Anuj Seth wrote:
> Thanks, that clears it up
> I was thinking that the output of (splitAt blockSize) would get piped to
> (splitAt blockSize . snd). Did not realize it goes to the whole iterate
> part.

It is useful to keep in mind that function application ('f x') is always of 
the highest precedence; it binds more tightly than any operator.

Ben


More information about the Haskell-Cafe mailing list