[Haskell] Extensible records: Static duck typing
simonpj at microsoft.com
Wed Feb 6 07:19:09 EST 2008
So to clarify that statement. Honestly the number one problem I have with the current records system is that labels share the same namespace. This makes interfacing with any C library using structs quite painful. This is why I say that I don't really care which gets implemented. The current system is *painful* IMO, so anything which improves on it would be welcome (even if just puts the record accessors in a per-record namespace, where with syntactic sugar to avoid having to qualify it).
You do know about: http://www.haskell.org/ghc/docs/latest/html/users_guide/syntax-extns.html#disambiguate-fields
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell