Copyright | (c) Evgenii Kotelnikov 2019 |
---|---|
License | GPL-3 |
Maintainer | evgeny.kotelnikov@gmail.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Runners of parsers for TPTP units
parseUnitOnly :: Text -> Either String Unit Source #
Run a parser for a single TPTP unit that cannot be resupplied
via a Partial
result.
parseUnitWith :: Monad m => m Text -> Text -> m (Result Unit) Source #
Run a parser for a single TPTP unit with an initial input string, and a monadic action that can supply more input if needed.