In the book “The Craft of Function Programming” the symbol ‘>.>’ joins functions together, opposite the direction of ‘.’. But when I implemented it using ghci, it shows the error ‘>.>’ out of scope. Why? Is it an old notation that is not used anymore?
In the book The Craft of Function Programming the symbol ‘>.>’ joins functions together,
Share
It’s probably just a function defined by the book (I didn’t read the book). AFAIK,
>.>is not used anywhere. You could define it yourself:The de-facto notation of this seems to be
(#).Since functions are
arrows“Control.Category” you could also use>>>, e.g.