hans-3.0.2: Network Stack

Safe HaskellNone
LanguageHaskell2010

Hans.Addr.Types

Documentation

data Addr Source #

Constructors

Addr4 !IP4 

Instances

Eq Addr Source # 

Methods

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

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

Ord Addr Source # 

Methods

compare :: Addr -> Addr -> Ordering #

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

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

(>) :: Addr -> Addr -> Bool #

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

max :: Addr -> Addr -> Addr #

min :: Addr -> Addr -> Addr #

Show Addr Source # 

Methods

showsPrec :: Int -> Addr -> ShowS #

show :: Addr -> String #

showList :: [Addr] -> ShowS #

Generic Addr Source # 

Associated Types

type Rep Addr :: * -> * #

Methods

from :: Addr -> Rep Addr x #

to :: Rep Addr x -> Addr #

Hashable Addr Source # 

Methods

hashWithSalt :: Int -> Addr -> Int #

hash :: Addr -> Int #

NetworkAddr Addr Source # 
Network Addr Source # 
type Rep Addr Source # 
type Rep Addr = D1 (MetaData "Addr" "Hans.Addr.Types" "hans-3.0.2-GPIpvDF0acQKMmo8PFxkX0" False) (C1 (MetaCons "Addr4" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 IP4)))