enum-types-0.1.0.0: small enum types

Safe HaskellSafe
LanguageHaskell2010

Data.Enum.Types

Documentation

data A Source #

Constructors

A0 
Instances
Bounded A Source # 
Instance details

Defined in Data.Enum.Types

Methods

minBound :: A #

maxBound :: A #

Enum A Source # 
Instance details

Defined in Data.Enum.Types

Methods

succ :: A -> A #

pred :: A -> A #

toEnum :: Int -> A #

fromEnum :: A -> Int #

enumFrom :: A -> [A] #

enumFromThen :: A -> A -> [A] #

enumFromTo :: A -> A -> [A] #

enumFromThenTo :: A -> A -> A -> [A] #

Eq A Source # 
Instance details

Defined in Data.Enum.Types

Methods

(==) :: A -> A -> Bool #

(/=) :: A -> A -> Bool #

Ord A Source # 
Instance details

Defined in Data.Enum.Types

Methods

compare :: A -> A -> Ordering #

(<) :: A -> A -> Bool #

(<=) :: A -> A -> Bool #

(>) :: A -> A -> Bool #

(>=) :: A -> A -> Bool #

max :: A -> A -> A #

min :: A -> A -> A #

Read A Source # 
Instance details

Defined in Data.Enum.Types

Show A Source # 
Instance details

Defined in Data.Enum.Types

Methods

showsPrec :: Int -> A -> ShowS #

show :: A -> String #

showList :: [A] -> ShowS #

data B Source #

Constructors

B0 
B1 
Instances
Bounded B Source # 
Instance details

Defined in Data.Enum.Types

Methods

minBound :: B #

maxBound :: B #

Enum B Source # 
Instance details

Defined in Data.Enum.Types

Methods

succ :: B -> B #

pred :: B -> B #

toEnum :: Int -> B #

fromEnum :: B -> Int #

enumFrom :: B -> [B] #

enumFromThen :: B -> B -> [B] #

enumFromTo :: B -> B -> [B] #

enumFromThenTo :: B -> B -> B -> [B] #

Eq B Source # 
Instance details

Defined in Data.Enum.Types

Methods

(==) :: B -> B -> Bool #

(/=) :: B -> B -> Bool #

Ord B Source # 
Instance details

Defined in Data.Enum.Types

Methods

compare :: B -> B -> Ordering #

(<) :: B -> B -> Bool #

(<=) :: B -> B -> Bool #

(>) :: B -> B -> Bool #

(>=) :: B -> B -> Bool #

max :: B -> B -> B #

min :: B -> B -> B #

Read B Source # 
Instance details

Defined in Data.Enum.Types

Show B Source # 
Instance details

Defined in Data.Enum.Types

Methods

showsPrec :: Int -> B -> ShowS #

show :: B -> String #

showList :: [B] -> ShowS #

data C Source #

Constructors

C0 
C1 
C2 
Instances
Bounded C Source # 
Instance details

Defined in Data.Enum.Types

Methods

minBound :: C #

maxBound :: C #

Enum C Source # 
Instance details

Defined in Data.Enum.Types

Methods

succ :: C -> C #

pred :: C -> C #

toEnum :: Int -> C #

fromEnum :: C -> Int #

enumFrom :: C -> [C] #

enumFromThen :: C -> C -> [C] #

enumFromTo :: C -> C -> [C] #

enumFromThenTo :: C -> C -> C -> [C] #

Eq C Source # 
Instance details

Defined in Data.Enum.Types

Methods

(==) :: C -> C -> Bool #

(/=) :: C -> C -> Bool #

Ord C Source # 
Instance details

Defined in Data.Enum.Types

Methods

compare :: C -> C -> Ordering #

(<) :: C -> C -> Bool #

(<=) :: C -> C -> Bool #

(>) :: C -> C -> Bool #

(>=) :: C -> C -> Bool #

max :: C -> C -> C #

min :: C -> C -> C #

Read C Source # 
Instance details

Defined in Data.Enum.Types

Show C Source # 
Instance details

Defined in Data.Enum.Types

Methods

showsPrec :: Int -> C -> ShowS #

show :: C -> String #

showList :: [C] -> ShowS #

data D Source #

Constructors

D0 
D1 
D2 
D3 
Instances
Bounded D Source # 
Instance details

Defined in Data.Enum.Types

Methods

minBound :: D #

maxBound :: D #

Enum D Source # 
Instance details

Defined in Data.Enum.Types

Methods

succ :: D -> D #

pred :: D -> D #

toEnum :: Int -> D #

fromEnum :: D -> Int #

enumFrom :: D -> [D] #

enumFromThen :: D -> D -> [D] #

enumFromTo :: D -> D -> [D] #

enumFromThenTo :: D -> D -> D -> [D] #

Eq D Source # 
Instance details

Defined in Data.Enum.Types

Methods

(==) :: D -> D -> Bool #

(/=) :: D -> D -> Bool #

Ord D Source # 
Instance details

Defined in Data.Enum.Types

Methods

compare :: D -> D -> Ordering #

(<) :: D -> D -> Bool #

(<=) :: D -> D -> Bool #

(>) :: D -> D -> Bool #

(>=) :: D -> D -> Bool #

max :: D -> D -> D #

min :: D -> D -> D #

Read D Source # 
Instance details

Defined in Data.Enum.Types

Show D Source # 
Instance details

Defined in Data.Enum.Types

Methods

showsPrec :: Int -> D -> ShowS #

show :: D -> String #

showList :: [D] -> ShowS #

data E Source #

Constructors

E0 
E1 
E2 
E3 
E4 
Instances
Bounded E Source # 
Instance details

Defined in Data.Enum.Types

Methods

minBound :: E #

maxBound :: E #

Enum E Source # 
Instance details

Defined in Data.Enum.Types

Methods

succ :: E -> E #

pred :: E -> E #

toEnum :: Int -> E #

fromEnum :: E -> Int #

enumFrom :: E -> [E] #

enumFromThen :: E -> E -> [E] #

enumFromTo :: E -> E -> [E] #

enumFromThenTo :: E -> E -> E -> [E] #

Eq E Source # 
Instance details

Defined in Data.Enum.Types

Methods

(==) :: E -> E -> Bool #

(/=) :: E -> E -> Bool #

Ord E Source # 
Instance details

Defined in Data.Enum.Types

Methods

compare :: E -> E -> Ordering #

(<) :: E -> E -> Bool #

(<=) :: E -> E -> Bool #

(>) :: E -> E -> Bool #

(>=) :: E -> E -> Bool #

max :: E -> E -> E #

min :: E -> E -> E #

Read E Source # 
Instance details

Defined in Data.Enum.Types

Show E Source # 
Instance details

Defined in Data.Enum.Types

Methods

showsPrec :: Int -> E -> ShowS #

show :: E -> String #

showList :: [E] -> ShowS #

data F Source #

Constructors

F0 
F1 
F2 
F3 
F4 
F5 
Instances
Bounded F Source # 
Instance details

Defined in Data.Enum.Types

Methods

minBound :: F #

maxBound :: F #

Enum F Source # 
Instance details

Defined in Data.Enum.Types

Methods

succ :: F -> F #

pred :: F -> F #

toEnum :: Int -> F #

fromEnum :: F -> Int #

enumFrom :: F -> [F] #

enumFromThen :: F -> F -> [F] #

enumFromTo :: F -> F -> [F] #

enumFromThenTo :: F -> F -> F -> [F] #

Eq F Source # 
Instance details

Defined in Data.Enum.Types

Methods

(==) :: F -> F -> Bool #

(/=) :: F -> F -> Bool #

Ord F Source # 
Instance details

Defined in Data.Enum.Types

Methods

compare :: F -> F -> Ordering #

(<) :: F -> F -> Bool #

(<=) :: F -> F -> Bool #

(>) :: F -> F -> Bool #

(>=) :: F -> F -> Bool #

max :: F -> F -> F #

min :: F -> F -> F #

Read F Source # 
Instance details

Defined in Data.Enum.Types

Show F Source # 
Instance details

Defined in Data.Enum.Types

Methods

showsPrec :: Int -> F -> ShowS #

show :: F -> String #

showList :: [F] -> ShowS #

data G Source #

Constructors

G0 
G1 
G2 
G3 
G4 
G5 
G6 
Instances
Bounded G Source # 
Instance details

Defined in Data.Enum.Types

Methods

minBound :: G #

maxBound :: G #

Enum G Source # 
Instance details

Defined in Data.Enum.Types

Methods

succ :: G -> G #

pred :: G -> G #

toEnum :: Int -> G #

fromEnum :: G -> Int #

enumFrom :: G -> [G] #

enumFromThen :: G -> G -> [G] #

enumFromTo :: G -> G -> [G] #

enumFromThenTo :: G -> G -> G -> [G] #

Eq G Source # 
Instance details

Defined in Data.Enum.Types

Methods

(==) :: G -> G -> Bool #

(/=) :: G -> G -> Bool #

Ord G Source # 
Instance details

Defined in Data.Enum.Types

Methods

compare :: G -> G -> Ordering #

(<) :: G -> G -> Bool #

(<=) :: G -> G -> Bool #

(>) :: G -> G -> Bool #

(>=) :: G -> G -> Bool #

max :: G -> G -> G #

min :: G -> G -> G #

Read G Source # 
Instance details

Defined in Data.Enum.Types

Show G Source # 
Instance details

Defined in Data.Enum.Types

Methods

showsPrec :: Int -> G -> ShowS #

show :: G -> String #

showList :: [G] -> ShowS #

data H Source #

Constructors

H0 
H1 
H2 
H3 
H4 
H5 
H6 
H7 
Instances
Bounded H Source # 
Instance details

Defined in Data.Enum.Types

Methods

minBound :: H #

maxBound :: H #

Enum H Source # 
Instance details

Defined in Data.Enum.Types

Methods

succ :: H -> H #

pred :: H -> H #

toEnum :: Int -> H #

fromEnum :: H -> Int #

enumFrom :: H -> [H] #

enumFromThen :: H -> H -> [H] #

enumFromTo :: H -> H -> [H] #

enumFromThenTo :: H -> H -> H -> [H] #

Eq H Source # 
Instance details

Defined in Data.Enum.Types

Methods

(==) :: H -> H -> Bool #

(/=) :: H -> H -> Bool #

Ord H Source # 
Instance details

Defined in Data.Enum.Types

Methods

compare :: H -> H -> Ordering #

(<) :: H -> H -> Bool #

(<=) :: H -> H -> Bool #

(>) :: H -> H -> Bool #

(>=) :: H -> H -> Bool #

max :: H -> H -> H #

min :: H -> H -> H #

Read H Source # 
Instance details

Defined in Data.Enum.Types

Show H Source # 
Instance details

Defined in Data.Enum.Types

Methods

showsPrec :: Int -> H -> ShowS #

show :: H -> String #

showList :: [H] -> ShowS #

data I Source #

Constructors

I0 
I1 
I2 
I3 
I4 
I5 
I6 
I7 
I8 
Instances
Bounded I Source # 
Instance details

Defined in Data.Enum.Types

Methods

minBound :: I #

maxBound :: I #

Enum I Source # 
Instance details

Defined in Data.Enum.Types

Methods

succ :: I -> I #

pred :: I -> I #

toEnum :: Int -> I #

fromEnum :: I -> Int #

enumFrom :: I -> [I] #

enumFromThen :: I -> I -> [I] #

enumFromTo :: I -> I -> [I] #

enumFromThenTo :: I -> I -> I -> [I] #

Eq I Source # 
Instance details

Defined in Data.Enum.Types

Methods

(==) :: I -> I -> Bool #

(/=) :: I -> I -> Bool #

Ord I Source # 
Instance details

Defined in Data.Enum.Types

Methods

compare :: I -> I -> Ordering #

(<) :: I -> I -> Bool #

(<=) :: I -> I -> Bool #

(>) :: I -> I -> Bool #

(>=) :: I -> I -> Bool #

max :: I -> I -> I #

min :: I -> I -> I #

Read I Source # 
Instance details

Defined in Data.Enum.Types

Show I Source # 
Instance details

Defined in Data.Enum.Types

Methods

showsPrec :: Int -> I -> ShowS #

show :: I -> String #

showList :: [I] -> ShowS #

data J Source #

Constructors

J0 
J1 
J2 
J3 
J4 
J5 
J6 
J7 
J8 
J9 
Instances
Bounded J Source # 
Instance details

Defined in Data.Enum.Types

Methods

minBound :: J #

maxBound :: J #

Enum J Source # 
Instance details

Defined in Data.Enum.Types

Methods

succ :: J -> J #

pred :: J -> J #

toEnum :: Int -> J #

fromEnum :: J -> Int #

enumFrom :: J -> [J] #

enumFromThen :: J -> J -> [J] #

enumFromTo :: J -> J -> [J] #

enumFromThenTo :: J -> J -> J -> [J] #

Eq J Source # 
Instance details

Defined in Data.Enum.Types

Methods

(==) :: J -> J -> Bool #

(/=) :: J -> J -> Bool #

Ord J Source # 
Instance details

Defined in Data.Enum.Types

Methods

compare :: J -> J -> Ordering #

(<) :: J -> J -> Bool #

(<=) :: J -> J -> Bool #

(>) :: J -> J -> Bool #

(>=) :: J -> J -> Bool #

max :: J -> J -> J #

min :: J -> J -> J #

Read J Source # 
Instance details

Defined in Data.Enum.Types

Show J Source # 
Instance details

Defined in Data.Enum.Types

Methods

showsPrec :: Int -> J -> ShowS #

show :: J -> String #

showList :: [J] -> ShowS #

data K Source #

Constructors

K0 
K1 
K2 
K3 
K4 
K5 
K6 
K7 
K8 
K9 
K10 
Instances
Bounded K Source # 
Instance details

Defined in Data.Enum.Types

Methods

minBound :: K #

maxBound :: K #

Enum K Source # 
Instance details

Defined in Data.Enum.Types

Methods

succ :: K -> K #

pred :: K -> K #

toEnum :: Int -> K #

fromEnum :: K -> Int #

enumFrom :: K -> [K] #

enumFromThen :: K -> K -> [K] #

enumFromTo :: K -> K -> [K] #

enumFromThenTo :: K -> K -> K -> [K] #

Eq K Source # 
Instance details

Defined in Data.Enum.Types

Methods

(==) :: K -> K -> Bool #

(/=) :: K -> K -> Bool #

Ord K Source # 
Instance details

Defined in Data.Enum.Types

Methods

compare :: K -> K -> Ordering #

(<) :: K -> K -> Bool #

(<=) :: K -> K -> Bool #

(>) :: K -> K -> Bool #

(>=) :: K -> K -> Bool #

max :: K -> K -> K #

min :: K -> K -> K #

Read K Source # 
Instance details

Defined in Data.Enum.Types

Show K Source # 
Instance details

Defined in Data.Enum.Types

Methods

showsPrec :: Int -> K -> ShowS #

show :: K -> String #

showList :: [K] -> ShowS #