On Sun, Feb 05, 2006 at 10:45:50AM -0500, Lennart Augustsson wrote: > I don't really see what's so much better about writing > [x1,x2,x3,x4,x5] than x1:x2:x3:x4:x5:[]. > When I've explained lists to beginners I've just found it > annoying and hard to explain why there are two ways of > writing lists. And why only lists have this special syntax. > > -- Lennart
But if you remove the [...] syntax, there will be more :'s in people's code. You are working against yourself here ;-) Best regards Tomasz -- I am searching for programmers who are good at least in (Haskell || ML) && (Linux || FreeBSD || math) for work in Warsaw, Poland _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe