hans- IPv4 Network Stack

Safe HaskellSafe-Inferred




type MkPseudoHeader = Int -> ByteString Source

Pseudo headers are constructed strictly.

type Endo a = a -> a Source

void :: Monad m => m a -> m () Source

Discard the result of a monadic computation.

showPaddedHex :: (Integral a, Show a) => a -> ShowS Source

Show a single hex number, padded with a leading 0.

just :: MonadPlus m => Maybe a -> m a Source

Lift a maybe into MonadPlus

singleton :: a -> [a] Source

Make a singleton list.

chunk :: ByteString -> ByteString Source

Make a lazy bytestring from a strict one.