kangaroo-0.1.0: Random access binary combinator parser.

Portabilityto be determined.
Stabilityhighly unstable
MaintainerStephen Tetley <stephen.tetley@gmail.com>

Data.ParserCombinators.Kangaroo.Utils

Contents

Description

Utils...

Synopsis

Documentation

(<:>) :: Applicative f => f a -> f [a] -> f [a]Source

applicative cons

pairA :: Applicative f => f a -> f b -> f (a, b)Source

mprogress :: Monad m => (a -> c -> d) -> (a -> b) -> m a -> (b -> m c) -> m dSource

Specs

oo :: (c -> d) -> (a -> b -> c) -> a -> b -> dSource

Compose an arity 1 function with an arity 2 function. B1 - blackbird

ooo :: (d -> e) -> (a -> b -> c -> d) -> a -> b -> c -> eSource

Compose an arity 1 function with an arity 3 function. B2 - bunting

oooo :: (e -> f) -> (a -> b -> c -> d -> e) -> a -> b -> c -> d -> fSource

Compose an arity 1 function with an arity 4 function.

numbers from Word8

shiftL8 :: (Bits b, Integral b) => Word8 -> bSource

shiftL16 :: (Bits b, Integral b) => Word8 -> bSource

shiftL24 :: (Bits b, Integral b) => Word8 -> bSource

shiftL32 :: (Bits b, Integral b) => Word8 -> bSource

shiftL40 :: (Bits b, Integral b) => Word8 -> bSource

shiftL48 :: (Bits b, Integral b) => Word8 -> bSource

shiftL56 :: (Bits b, Integral b) => Word8 -> bSource

Hex printing