[Haskell-beginners] Data.Foldable's foldr'

Yitzchak Gale gale at sefer.org
Fri Jun 17 11:52:44 CEST 2011


Daniel Fischer wrote:
>> id id id id id ... id x

Federico Mastellone wrote:
> This is one crazy little example

Here's an even crazier one:

Use :t in ghci to look at the types of these:

(.)
(.)(.)
(.)(.)(.)
etc.

Hint: after a while, it starts repeating.

Regards,
Yitz



More information about the Beginners mailing list