[Haskell] SYB Documentation is inconclusive.

2006-11-23 Thread Arthur van Leeuwen
L.S., lately I've been playing with Data.Generics and records. I would like to write a generic method to output to e.g. CSV files. Given MissingH.CVS that problem reduces to a generic method to take lists of records to lists of lists with shown record fields, with as first element a list of

RE: [Haskell] SYB Documentation is inconclusive.

2006-11-23 Thread Ralf Lammel
: [Haskell] SYB Documentation is inconclusive. L.S., lately I've been playing with Data.Generics and records. I would like to write a generic method to output to e.g. CSV files. Given MissingH.CVS that problem reduces to a generic method to take lists of records to lists of lists with shown

Re: [Haskell] SYB Documentation is inconclusive.

2006-11-23 Thread Arthur van Leeuwen
On 23-nov-2006, at 23:22, Ralf Lammel wrote: Arthur, constrFields eventually returns some mangled strings from the abstract syntax tree; see ghc-fptools/ghc/compiler/basicTypes/ DataCon.lhs; and that abstract syntax promises to be order-preserving. It says (not surprisingly):