[Haskell-cafe] Why is $ right associative instead ofleftassociative?

Paul Hudak paul.hudak at yale.edu
Sun Feb 5 11:38:23 EST 2006

Bulat Ziganshin wrote:
> LA> In my opinion all the special syntactic sugar for lists should go
> LA> away.  I don't think lists are special enough to motivate it.
> i have proposal (not for Haskell', of course) of using ":" and "[]"
> syntax for general notion of traversable collections:

Minor point, perhaps, but I should mention that : is not special syntax 
-- it is a perfectly valid infix constructor.  [] and all its variants, 
however, are special syntax.


More information about the Haskell-Cafe mailing list