Another Newbie question :)

Keith Wansbrough Keith.Wansbrough at cl.cam.ac.uk
Wed Nov 5 12:37:40 EST 2003


> 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 at cl.cam.ac.uk>
http://www.cl.cam.ac.uk/users/kw217/
University of Cambridge Computer Laboratory.



More information about the Haskell-Cafe mailing list