basement-0.0.15: Foundation scrap box of array & string
Safe Haskell None
Language Haskell2010

Basement.Numerical.Number

Synopsis

Documentation

class ( Integral a, Eq a, Ord a) => IsIntegral a where Source #

Number literals, convertible through the generic Integer type.

all number are Enum'erable, meaning that you can move to next element

Instances

Instances details
IsIntegral Int Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral Int8 Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral Int16 Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral Int32 Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral Int64 Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral Integer Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral Natural Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral Word Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral Word8 Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral Word16 Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral Word32 Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral Word64 Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral CChar Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral CSChar Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral CUChar Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral CShort Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral CUShort Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral CInt Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral CUInt Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral CLong Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral CULong Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral CLLong Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral CULLong Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral CBool Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral CPtrdiff Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral CSize Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral CWchar Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral CSigAtomic Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral CIntPtr Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral CUIntPtr Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral CIntMax Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral CUIntMax Source #
Instance details

Defined in Basement.Numerical.Number

IsIntegral Word128 Source #
Instance details

Defined in Basement.Types.Word128

IsIntegral Word256 Source #
Instance details

Defined in Basement.Types.Word256

KnownNat n => IsIntegral ( Zn n) Source #
Instance details

Defined in Basement.Bounded

( KnownNat n, NatWithinBound Word64 n) => IsIntegral ( Zn64 n) Source #
Instance details

Defined in Basement.Bounded

IsIntegral ( CountOf ty) Source #
Instance details

Defined in Basement.Types.OffsetSize

IsIntegral ( Offset ty) Source #
Instance details

Defined in Basement.Types.OffsetSize

class IsIntegral a => IsNatural a where Source #

Non Negative Number literals, convertible through the generic Natural type

Instances

Instances details
IsNatural Natural Source #
Instance details

Defined in Basement.Numerical.Number

IsNatural Word Source #
Instance details

Defined in Basement.Numerical.Number

IsNatural Word8 Source #
Instance details

Defined in Basement.Numerical.Number

IsNatural Word16 Source #
Instance details

Defined in Basement.Numerical.Number

IsNatural Word32 Source #
Instance details

Defined in Basement.Numerical.Number

IsNatural Word64 Source #
Instance details

Defined in Basement.Numerical.Number

IsNatural CUChar Source #
Instance details

Defined in Basement.Numerical.Number

IsNatural CUShort Source #
Instance details

Defined in Basement.Numerical.Number

IsNatural CUInt Source #
Instance details

Defined in Basement.Numerical.Number

IsNatural CULong Source #
Instance details

Defined in Basement.Numerical.Number

IsNatural CULLong Source #
Instance details

Defined in Basement.Numerical.Number

IsNatural CSize Source #
Instance details

Defined in Basement.Numerical.Number

IsNatural CUIntPtr Source #
Instance details

Defined in Basement.Numerical.Number

IsNatural CUIntMax Source #
Instance details

Defined in Basement.Numerical.Number

IsNatural Word128 Source #
Instance details

Defined in Basement.Types.Word128

IsNatural Word256 Source #
Instance details

Defined in Basement.Types.Word256

KnownNat n => IsNatural ( Zn n) Source #
Instance details

Defined in Basement.Bounded

( KnownNat n, NatWithinBound Word64 n) => IsNatural ( Zn64 n) Source #
Instance details

Defined in Basement.Bounded

IsNatural ( CountOf ty) Source #
Instance details

Defined in Basement.Types.OffsetSize

IsNatural ( Offset ty) Source #
Instance details

Defined in Basement.Types.OffsetSize