[Haskell-cafe] Existential quantification of config data types
Sumit Sahrawat, Maths & Computing, IIT (BHU)
sumit.sahrawat.apm13 at iitbhu.ac.in
Tue Apr 19 11:18:57 UTC 2016
Yup, the only way would be to parse a possible list of alternatives. Should
be simple with parsing libraries like parsec.
try format1 <|> try format2 <|> ...
Regards,
Sumit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160419/f91fc918/attachment.html>
More information about the Haskell-Cafe
mailing list