Records (was Re: [Haskell] Improvements to GHC)

Andrew Pimlott andrew at pimlott.net
Mon Nov 21 16:59:09 EST 2005


On Sun, Nov 20, 2005 at 08:54:35AM -0500, David Roundy wrote:
> As an aside, what's responsible for the insanity of pattern matching record
> fields being backwards? I'd bar = b to bind b to bar, not the other way
> around... why should record pattern matching use '=' in a manner opposite
> from the rest of Haskell?

Perhaps it's better to think of '=' as asserting equality, than as
binding?

Andrew


More information about the Haskell mailing list