[Haskell] Parsing Typed Data from a String

Andres Loeh andres at cs.uu.nl
Mon Mar 8 14:43:37 EST 2004

> 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.


More information about the Haskell mailing list