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

Basement.Compat.NumLiteral

Description

Literal support for Integral and Fractional

Synopsis

Documentation

class Integral a where Source #

Integral Literal support

e.g. 123 :: Integer 123 :: Word8

Instances

Instances details
Integral Double Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral Float Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral Int Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral Int8 Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral Int16 Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral Int32 Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral Int64 Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral Integer Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral Natural Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral Word Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral Word8 Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral Word16 Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral Word32 Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral Word64 Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral COff Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CChar Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CSChar Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CUChar Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CShort Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CUShort Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CInt Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CUInt Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CLong Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CULong Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CLLong Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CULLong Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CBool Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CFloat Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CDouble Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CPtrdiff Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CSize Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CWchar Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CSigAtomic Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CClock Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CTime Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CUSeconds Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CSUSeconds Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CIntPtr Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CUIntPtr Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CIntMax Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral CUIntMax Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral IntPtr Source #
Instance details

Defined in Basement.Compat.NumLiteral

Integral Word128 Source #
Instance details

Defined in Basement.Types.Word128

Integral Word256 Source #
Instance details

Defined in Basement.Types.Word256

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

Defined in Basement.Bounded

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

Defined in Basement.Bounded

Integral ( CountOf ty) Source #
Instance details

Defined in Basement.Types.OffsetSize

Integral ( Offset ty) Source #
Instance details

Defined in Basement.Types.OffsetSize

class HasNegation a where Source #

Negation support

e.g. -(f x)

Methods

negate :: a -> a Source #

Instances

Instances details
HasNegation Double Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation Float Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation Int Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation Int8 Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation Int16 Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation Int32 Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation Int64 Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation Integer Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation Word Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation Word8 Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation Word16 Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation Word32 Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation Word64 Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation CChar Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation CSChar Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation CShort Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation CInt Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation CLong Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation CLLong Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation CFloat Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation CDouble Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation CPtrdiff Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation CWchar Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation CIntMax Source #
Instance details

Defined in Basement.Compat.NumLiteral

HasNegation Word128 Source #
Instance details

Defined in Basement.Types.Word128

HasNegation Word256 Source #
Instance details

Defined in Basement.Types.Word256