hid-examples-0.5: Examples to accompany the book "Haskell in Depth"

Safe HaskellSafe
LanguageHaskell2010

IPTypes

Documentation

newtype IP Source #

Constructors

IP 

Fields

Instances
Eq IP Source # 
Instance details

Defined in IPTypes

Methods

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

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

Ord IP Source # 
Instance details

Defined in IPTypes

Methods

compare :: IP -> IP -> Ordering #

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

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

(>) :: IP -> IP -> Bool #

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

max :: IP -> IP -> IP #

min :: IP -> IP -> IP #

Show IP Source # 
Instance details

Defined in IPTypes

Methods

showsPrec :: Int -> IP -> ShowS #

show :: IP -> String #

showList :: [IP] -> ShowS #

data IPRange Source #

Constructors

IPRange IP IP 
Instances
Eq IPRange Source # 
Instance details

Defined in IPTypes

Methods

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

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

Show IPRange Source # 
Instance details

Defined in IPTypes

data IPRangeDB Source #

Constructors

IPRangeDB [IPRange] 
Instances
Eq IPRangeDB Source # 
Instance details

Defined in IPTypes

Show IPRangeDB Source # 
Instance details

Defined in IPTypes

newtype ParseError Source #

Constructors

ParseError LineNumber 
Instances
Eq ParseError Source # 
Instance details

Defined in IPTypes

Show ParseError Source # 
Instance details

Defined in IPTypes