5 Nov
2003
5 Nov
'03
12:37 p.m.
Think of a list [1,2,3]. Recall this is "syntactic sugar" (abbreviation) for 1:(2:(3:[])). That looks like
FYI, I've just added my answer to your question to the Haskell Wiki, at http://www.haskell.org/hawiki/WhatIsaFold Enjoy! --KW 8-) -- Keith Wansbrough <kw217@cl.cam.ac.uk> http://www.cl.cam.ac.uk/users/kw217/ University of Cambridge Computer Laboratory.