[Haskell-cafe] is there a more concise way to generate helper functions for a datatype built on records?

2007-11-24 Thread Thomas Hartman
I think I'm running into more or less the same issue discussed at http://bloggablea.wordpress.com/2007/04/24/haskell-records-considered-grungy/ Just wondering if I missed anything, or if any of the ideas considering better records setter/getters have been implemented in the meantime. t.

Re: [Haskell-cafe] is there a more concise way to generate helper functions for a datatype built on records?

2007-11-24 Thread Neil Mitchell
Hi Some of these can be automatically derived by the Data.Derive tool. If you want any more, then submit a patch and they can all be derived. http://www-users.cs.york.ac.uk/~ndm/derive/ The derivations Set, Is, From, Has, LazySet all look useful. A bit more documentation on what each one does

Re: [Haskell-cafe] is there a more concise way to generate helper functions for a datatype built on records?

2007-11-24 Thread Alex Jacobson
There is a simplified version of HList style functionality inside HAppS-Data because I found Oleg's repo too hard to understand. -Alex- Stuart Cook wrote: On 11/25/07, Thomas Hartman [EMAIL PROTECTED] wrote: I think I'm running into more or less the same issue discussed at