[Haskell-cafe] map and list comprehensions

John Peterson peterson-john at cs.yale.edu
Sun Feb 5 20:29:37 EST 2006

I think the point was that all syntax (like list comprehensions or
pattern matching) in Haskell is tied directly to the Prelude.  So [ f
x ...] is ALWAYS using the Prelude definitions of things while "map"
could be hidden and redefined.  The inability to change the meaning of
constructs expanded from syntax as considered a bug by some, a feature
by others.  And I don't rember where Paul stood on this ...

And the change between list / monad comprehensions was debated
intensly by the committee at every step.  The only real argument
against monad comprehensions was that they confuse beginners with


More information about the Haskell-Cafe mailing list