type-int-0.5.0.2: Type Level 2s- and 16s- Complement Integers

Portabilitynon-portable (Template Haskell)
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>
Safe HaskellNone

Data.Type.Binary.TH

Description

Provides a simple way to construct type level binaries. $(binaryE 24) returns an undefined value with the same type as the Type.Binary with value 24.

Synopsis

Documentation

binaryE :: Integral a => a -> ExpQSource

$(binaryE n) returns an undefined value of the appropriate TBinary instance

binaryT :: Integral a => a -> TypeQSource

$(binaryT n) returns the appropriate TBinary instance