I feel like I have way too much code of the form:

   changeGpart (C a b c d e f g h i) g' =
        C a b c d e f g' h i

So, I got excited reading Simon and Mark's
"Lightweight Extensible Records For Haskell" paper
as a way to get rid of this cruft.  I immediately
started GHCi, typed {a="Hello world"}, and got an
error.

Is the feature described in the paper just a
proposal or is there a switch somethere to enable
it?

Alternatively, perhaps this code is a common
beginner mistake due to ignorance of the proper
idiom...

-Alex-


_________________________________________________________________
S. Alexander Jacobson                  mailto:[EMAIL PROTECTED]
tel:917-770-6565                       http://alexjacobson.com
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to