hw-prim-0.5.0.0: Primitive functions and data types
HaskellWorks.Data.Unsign
class Unsign a where Source #
Minimal complete definition
unsign
Associated Types
type UnsignOf a Source #
The correspond unsigned version of a type
Methods
unsign :: a -> UnsignOf a Source #
Convert to an unsigned type
Instances
type UnsignOf Int :: * Source #
unsign :: Int -> UnsignOf Int Source #
type UnsignOf Int8 :: * Source #
unsign :: Int8 -> UnsignOf Int8 Source #
type UnsignOf Int16 :: * Source #
unsign :: Int16 -> UnsignOf Int16 Source #
type UnsignOf Int32 :: * Source #
unsign :: Int32 -> UnsignOf Int32 Source #
type UnsignOf Int64 :: * Source #
unsign :: Int64 -> UnsignOf Int64 Source #
type UnsignOf Word :: * Source #
unsign :: Word -> UnsignOf Word Source #
type UnsignOf Word8 :: * Source #
unsign :: Word8 -> UnsignOf Word8 Source #
type UnsignOf Word16 :: * Source #
unsign :: Word16 -> UnsignOf Word16 Source #
type UnsignOf Word32 :: * Source #
unsign :: Word32 -> UnsignOf Word32 Source #
type UnsignOf Word64 :: * Source #
unsign :: Word64 -> UnsignOf Word64 Source #