Re: [Haskell-cafe] map and list comprehensions

2006-02-06 Thread Paul Hudak
John Peterson wrote: 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. Yes, of course. I was implicitly ass

[Haskell-cafe] map and list comprehensions

2006-02-05 Thread John Peterson
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 fr