ebnf-bff-0.1.1.0: Parser combinators & EBNF, BFFs!

Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.EBNF.Helper

Synopsis

Documentation

syntacticExceptionCombinator :: (Stream s m t, Show a) => ParsecT s u m b -> ParsecT s u m a -> ParsecT s u m b Source

betweenSame :: Stream s m t => ParsecT s u m close -> ParsecT s u m a -> ParsecT s u m a Source

insertWhere :: (a -> Bool) -> a -> [a] -> [a] Source

die :: String -> IO a Source

die does not exist in the version of the base package used, implementation copied from the System.Exit source at: https://hackage.haskell.org/package/base-4.8.1.0/docs/src/System.Exit.html#die