hw-ip-0.4.2: Library for manipulating IP addresses and CIDR blocks
HaskellWorks.Data.Network.Ip.Type
newtype Ipv4Address Source #
Constructors
Fields
Defined in HaskellWorks.Data.Network.Ip.Type
Methods
succ :: Ipv4Address -> Ipv4Address #
pred :: Ipv4Address -> Ipv4Address #
toEnum :: Int -> Ipv4Address #
fromEnum :: Ipv4Address -> Int #
enumFrom :: Ipv4Address -> [Ipv4Address] #
enumFromThen :: Ipv4Address -> Ipv4Address -> [Ipv4Address] #
enumFromTo :: Ipv4Address -> Ipv4Address -> [Ipv4Address] #
enumFromThenTo :: Ipv4Address -> Ipv4Address -> Ipv4Address -> [Ipv4Address] #
(==) :: Ipv4Address -> Ipv4Address -> Bool #
(/=) :: Ipv4Address -> Ipv4Address -> Bool #
compare :: Ipv4Address -> Ipv4Address -> Ordering #
(<) :: Ipv4Address -> Ipv4Address -> Bool #
(<=) :: Ipv4Address -> Ipv4Address -> Bool #
(>) :: Ipv4Address -> Ipv4Address -> Bool #
(>=) :: Ipv4Address -> Ipv4Address -> Bool #
max :: Ipv4Address -> Ipv4Address -> Ipv4Address #
min :: Ipv4Address -> Ipv4Address -> Ipv4Address #
readsPrec :: Int -> ReadS Ipv4Address #
readList :: ReadS [Ipv4Address] #
readPrec :: ReadPrec Ipv4Address #
readListPrec :: ReadPrec [Ipv4Address] #
showsPrec :: Int -> Ipv4Address -> ShowS #
show :: Ipv4Address -> String #
showList :: [Ipv4Address] -> ShowS #
Associated Types
type Rep Ipv4Address :: * -> * #
from :: Ipv4Address -> Rep Ipv4Address x #
to :: Rep Ipv4Address x -> Ipv4Address #
newtype Ipv4NetMask Source #
succ :: Ipv4NetMask -> Ipv4NetMask #
pred :: Ipv4NetMask -> Ipv4NetMask #
toEnum :: Int -> Ipv4NetMask #
fromEnum :: Ipv4NetMask -> Int #
enumFrom :: Ipv4NetMask -> [Ipv4NetMask] #
enumFromThen :: Ipv4NetMask -> Ipv4NetMask -> [Ipv4NetMask] #
enumFromTo :: Ipv4NetMask -> Ipv4NetMask -> [Ipv4NetMask] #
enumFromThenTo :: Ipv4NetMask -> Ipv4NetMask -> Ipv4NetMask -> [Ipv4NetMask] #
(==) :: Ipv4NetMask -> Ipv4NetMask -> Bool #
(/=) :: Ipv4NetMask -> Ipv4NetMask -> Bool #
compare :: Ipv4NetMask -> Ipv4NetMask -> Ordering #
(<) :: Ipv4NetMask -> Ipv4NetMask -> Bool #
(<=) :: Ipv4NetMask -> Ipv4NetMask -> Bool #
(>) :: Ipv4NetMask -> Ipv4NetMask -> Bool #
(>=) :: Ipv4NetMask -> Ipv4NetMask -> Bool #
max :: Ipv4NetMask -> Ipv4NetMask -> Ipv4NetMask #
min :: Ipv4NetMask -> Ipv4NetMask -> Ipv4NetMask #
showsPrec :: Int -> Ipv4NetMask -> ShowS #
show :: Ipv4NetMask -> String #
showList :: [Ipv4NetMask] -> ShowS #
type Rep Ipv4NetMask :: * -> * #
from :: Ipv4NetMask -> Rep Ipv4NetMask x #
to :: Rep Ipv4NetMask x -> Ipv4NetMask #
data Ipv4Block Source #
(==) :: Ipv4Block -> Ipv4Block -> Bool #
(/=) :: Ipv4Block -> Ipv4Block -> Bool #
compare :: Ipv4Block -> Ipv4Block -> Ordering #
(<) :: Ipv4Block -> Ipv4Block -> Bool #
(<=) :: Ipv4Block -> Ipv4Block -> Bool #
(>) :: Ipv4Block -> Ipv4Block -> Bool #
(>=) :: Ipv4Block -> Ipv4Block -> Bool #
max :: Ipv4Block -> Ipv4Block -> Ipv4Block #
min :: Ipv4Block -> Ipv4Block -> Ipv4Block #
readsPrec :: Int -> ReadS Ipv4Block #
readList :: ReadS [Ipv4Block] #
readPrec :: ReadPrec Ipv4Block #
readListPrec :: ReadPrec [Ipv4Block] #
showsPrec :: Int -> Ipv4Block -> ShowS #
show :: Ipv4Block -> String #
showList :: [Ipv4Block] -> ShowS #