Records in Haskell

Florian Weimer fw at
Sun Oct 2 19:54:13 CEST 2011

* Simon Peyton-Jones:

> Provoked the (very constructive) Yesod blog post on "Limitations of
> Haskell", and the follow up discussion, I've started a wiki page to
> collect whatever ideas we have about the name spacing issue for
> record fields.

I think there are is an additional approach: nested modules (multiple
modules in a single source file) combined with local imports applying
to a specific lexical scope only.  I think this is how Ocaml tackles
this issue.  It is more explicit than the approaches presented so far.

More information about the Glasgow-haskell-users mailing list