hw-bits-0.7.0.1: Bit manipulation

Safe HaskellNone
LanguageHaskell2010

HaskellWorks.Data.Bits.Word

Documentation

class WordConcat a where Source #

Minimal complete definition

leConcat

Associated Types

type DoubleWords a Source #

Methods

leConcat :: a -> a -> DoubleWords a Source #

Concatenate two words in little-endian order of the same size into a word of twice the size.

class WordSplit a where Source #

Minimal complete definition

leSplit

Associated Types

type HalfWords a Source #

Methods

leSplit :: a -> (HalfWords a, HalfWords a) Source #

Split a word equally into two smaller words in little-endian order.