Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ParseException
- runByteStringParser :: (MonadThrow m, Show e, ShowErrorComponent e, Typeable e, VisualStream s, TraversableStream s, Typeable s, Show s, Show (Token s)) => Parsec e s a -> Path b t -> s -> m a
- type ByteStringParser = Parsec ParseException ByteString
- null :: ByteStringParser Word8
- space :: ByteStringParser ()
- decimal :: Num i => ByteStringParser i
- octal :: Num i => ByteStringParser i
- fromBinaryGetter :: (String -> ParseException) -> Get ~> ByteStringParser
- relFile :: ByteStringParser (Path Rel File)
Documentation
data ParseException Source #
Instances
Eq ParseException Source # | |
Defined in HMGit.Internal.Parser.Core.ByteString (==) :: ParseException -> ParseException -> Bool # (/=) :: ParseException -> ParseException -> Bool # | |
Ord ParseException Source # | |
Defined in HMGit.Internal.Parser.Core.ByteString compare :: ParseException -> ParseException -> Ordering # (<) :: ParseException -> ParseException -> Bool # (<=) :: ParseException -> ParseException -> Bool # (>) :: ParseException -> ParseException -> Bool # (>=) :: ParseException -> ParseException -> Bool # max :: ParseException -> ParseException -> ParseException # min :: ParseException -> ParseException -> ParseException # | |
Show ParseException Source # | |
Defined in HMGit.Internal.Parser.Core.ByteString showsPrec :: Int -> ParseException -> ShowS # show :: ParseException -> String # showList :: [ParseException] -> ShowS # | |
Exception ParseException Source # | |
Defined in HMGit.Internal.Parser.Core.ByteString | |
ShowErrorComponent ParseException Source # | |
Defined in HMGit.Internal.Parser.Core.ByteString |
runByteStringParser :: (MonadThrow m, Show e, ShowErrorComponent e, Typeable e, VisualStream s, TraversableStream s, Typeable s, Show s, Show (Token s)) => Parsec e s a -> Path b t -> s -> m a Source #
null :: ByteStringParser Word8 Source #
null
space :: ByteStringParser () Source #
M.space is fine but we just want to match 0x20
decimal :: Num i => ByteStringParser i Source #
decimal
octal :: Num i => ByteStringParser i Source #
octal
fromBinaryGetter :: (String -> ParseException) -> Get ~> ByteStringParser Source #
Natural transformation from Get to parsec