Safe Haskell | None |
---|---|
Language | Haskell2010 |
Parsers for use with ByteStream
s.
Documentation
Instances
MonadTrans (Parser r) Source # | |
Monad (Parser r m) Source # | |
Functor (Parser r m) Source # | |
Applicative (Parser r m) Source # | |
Defined in Bio.Streaming.Parse pure :: a -> Parser r m a Source # (<*>) :: Parser r m (a -> b) -> Parser r m a -> Parser r m b Source # liftA2 :: (a -> b -> c) -> Parser r m a -> Parser r m b -> Parser r m c Source # (*>) :: Parser r m a -> Parser r m b -> Parser r m b Source # (<*) :: Parser r m a -> Parser r m b -> Parser r m a Source # | |
MonadIO m => MonadIO (Parser r m) Source # | |
MonadThrow (Parser r m) Source # | |
Defined in Bio.Streaming.Parse |
data ParseError Source #
ParseError | |
|
Instances
Show ParseError Source # | |
Defined in Bio.Streaming.Parse | |
Exception ParseError Source # | |
Defined in Bio.Streaming.Parse |
data EofException Source #
Instances
Show EofException Source # | |
Defined in Bio.Streaming.Parse | |
Exception EofException Source # | |
Defined in Bio.Streaming.Parse |
parse :: Monad m => (Int64 -> Parser r m a) -> ByteStream m r -> m (Either SomeException (Either r (a, ByteStream m r))) Source #
parseIO :: MonadIO m => (Int64 -> Parser r m a) -> ByteStream m r -> m (Either r (a, ByteStream m r)) Source #
parseM :: MonadThrow m => (Int64 -> Parser r m a) -> ByteStream m r -> m (Either r (a, ByteStream m r)) Source #
abortParse :: Monad m => Parser r m a Source #