A non-resumable parser.
Constructors
Parser :: ((# ByteArray#, Int#, Int# #) -> ST# b (Result# a c)) -> Parser a b crunParser :: (# ByteArray#, Int#, Int# #) -> ST# b (Result# a c)
Instances4Monad, Functor, Applicative, Alternative
Monad (Parser e s)Defined in bytesmith-0.3.11.1 · Data.Bytes.Parser.InternalFunctor (Parser e s)Defined in bytesmith-0.3.11.1 · Data.Bytes.Parser.InternalApplicative (Parser e s)Defined in bytesmith-0.3.11.1 · Data.Bytes.Parser.InternalMonoid e => Alternative (Parser e s)Defined in bytesmith-0.3.11.1 · Data.Bytes.Parser.InternalCombines the error messages using <> when both parsers fail.