Gamgine-0.5.1: Some kind of game library or set of utilities.
Gamgine.Image.PNG.Internal.Parser
type Parser = Parsec LBS () Source #
word8 :: Stream LBS m Word8 => Word8 -> ParsecT LBS u m Word8 Source #
word16 :: Stream LBS m Word8 => Word16 -> ParsecT LBS u m Word16 Source #
word32 :: Stream LBS m Word8 => Word32 -> ParsecT LBS u m Word32 Source #
satisfy :: Stream LBS m Word8 => (Word8 -> Bool) -> ParsecT LBS u m Word8 Source #
anyWord8 :: Stream LBS m Word8 => ParsecT LBS u m Word8 Source #
anyWord16 :: Stream LBS m Word8 => ParsecT LBS u m Word16 Source #
anyWord32 :: Stream LBS m Word8 => ParsecT LBS u m Word32 Source #
string :: Stream LBS m Word8 => LBS -> ParsecT LBS u m LBS Source #
block :: Stream LBS m Word8 => Int -> ParsecT LBS u m LBS Source #
allowedValues :: (a -> Parser a) -> [(a, b)] -> Parser b Source #
parseFromFile :: Parser a -> FilePath -> IO (Either String a) Source #