digit-0.8: A data-type representing digits 0-9 and other combinations

Safe HaskellNone
LanguageHaskell2010

Data.Digit.Enum

Contents

Synopsis

Binary

enumBinary :: Binary d => [d] Source #

[0, 1]

Octal

enumOctal :: Octal d => [d] Source #

[0..7]

Decimal

enumDecimal :: Decimal d => [d] Source #

[0..9]

Hexadecimal

enumHexadecimalNoZero :: HexadecimalNoZero d => [d] Source #

[1..9] ++ [a..f]

enumHexadecimal :: Hexadecimal d => [d] Source #

[0..9] ++ [a..f]

HEXADECIMAL

enumHEXADECIMALNoZero :: HEXADECIMALNoZero d => [d] Source #

[1..9] ++ [A..F]

enumHEXADECIMAL :: HEXADECIMAL d => [d] Source #

[0..9] ++ [A..F]