Portability | portable |
---|---|
Maintainer | cabal-devel@haskell.org |
Safe Haskell | Safe-Inferred |
This defines a Text
class which is a bit like the Read
and Show
classes. The difference is that is uses a modern pretty printer and parser
system and the format is not expected to be Haskell concrete syntax but
rather the external human readable representation used by Cabal.
Documentation
class Text a where
simpleParse :: Text a => String -> Maybe a