8 Mar
2004
8 Mar
'04
1:43 p.m.
So my question is, is there any method in GHC which allows you to extract the order of the constructors in a type or to parse a type-representation in such a way that the order of the records doesn't matter (I am looking for ease/simplicity of use)?
If you happen to use Parsec for parsing -- it has permutation parser combinators in Text.ParserCombinators.Parsec.Perm. So has the UUST parser combinator library, in UU.Parsing.Perms. Best, Andres