hw-bits-0.6.0.0: Bit manipulation

Copyright2016 John Ky
LicenseMIT
Safe HaskellNone
LanguageHaskell2010

HaskellWorks.Data.Bits.BitParse

Description

Succinct operations.

Synopsis

Documentation

class BitParse a where Source #

Parsers for bit strings

Minimal complete definition

bitParse0, bitParse1

Methods

bitParse0 :: Parser a Source #

Version of bit string parser that can consume no inputs

bitParse1 :: Parser a Source #

Version of bit string parser that must consume at least one input

Instances

BitParse Bool Source # 
BitParse Word8 Source # 
BitParse Word16 Source # 
BitParse Word32 Source # 
BitParse Word64 Source # 
BitParse ByteString Source # 
BitParse [Word8] Source # 
BitParse [Word16] Source # 
BitParse [Word32] Source # 
BitParse [Word64] Source # 
BitParse (Vector Word8) Source # 
BitParse (Vector Word16) Source # 
BitParse (Vector Word32) Source # 
BitParse (Vector Word64) Source # 
BitParse (Vector Word8) Source # 
BitParse (Vector Word16) Source # 
BitParse (Vector Word32) Source # 
BitParse (Vector Word64) Source #