Re: Records in Haskell

2012-02-28 Thread Oliver Batchelor
Hi, > > Wrong: You cannot use a fieldLabel `name` declared in module/namespace A to > access a record with a field `name` declared in module B. You'll get a 'no > instance' compile fail. Same familiar rules as for any instance resolution. > > This is the crucial difference compared to SORF: which

Re: Records in Haskell

2012-02-26 Thread Oliver Batchelor
Hi Greg, (Apologies for second mail, I didn't include the list) I think the DORF approach is quite principled in it's namespacing. The labels are just normal functions which can be exported and imported between modules. I believe that is it's main strength - so I think to say "it only solves the