[Haskell-cafe] Function composition confusion

Anuj Seth ANUJS at Amdocs.com
Wed Apr 27 07:08:59 EDT 2005

Excuse the newbie'ness of my question.
Saw an example in Two Dozen Questions by Rexx Page.

blocks blockSize =
    takeWhile ( not . null ) . map fst .
              iterate (splitAt blockSize . snd) . splitAt blockSize

What is the meaning of the . operators outside the parentheses ?
Thsi does not look like function composition to me.


The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

More information about the Haskell-Cafe mailing list