hw-ip-2.4.2.1: Library for manipulating IP addresses and CIDR blocks
Safe HaskellNone
LanguageHaskell2010

HaskellWorks.Data.Network.Ip.Ipv6

Synopsis

Documentation

newtype IpAddress Source #

Constructors

IpAddress Word128 

Instances

Instances details
Bounded IpAddress Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

Enum IpAddress Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

Eq IpAddress Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

Ord IpAddress Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

Read IpAddress Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

Show IpAddress Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

Generic IpAddress Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

Associated Types

type Rep IpAddress :: Type -> Type #

SafeEnum IpAddress Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

type Rep IpAddress Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

type Rep IpAddress = D1 ('MetaData "IpAddress" "HaskellWorks.Data.Network.Ip.Ipv6" "hw-ip-2.4.2.1-KjdsdvjGQA9E9yHDWzWWXb" 'True) (C1 ('MetaCons "IpAddress" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word128)))

newtype IpNetMask Source #

Constructors

IpNetMask 

Fields

Instances

Instances details
Bounded IpNetMask Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

Enum IpNetMask Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

Eq IpNetMask Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

Ord IpNetMask Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

Read IpNetMask Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

Show IpNetMask Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

Generic IpNetMask Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

Associated Types

type Rep IpNetMask :: Type -> Type #

type Rep IpNetMask Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

type Rep IpNetMask = D1 ('MetaData "IpNetMask" "HaskellWorks.Data.Network.Ip.Ipv6" "hw-ip-2.4.2.1-KjdsdvjGQA9E9yHDWzWWXb" 'True) (C1 ('MetaCons "IpNetMask" 'PrefixI 'True) (S1 ('MetaSel ('Just "word") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8)))

data IpBlock v Source #

Constructors

IpBlock 

Fields

Instances

Instances details
Bounded (IpBlock v) Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

Eq (IpBlock v) Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

Methods

(==) :: IpBlock v -> IpBlock v -> Bool #

(/=) :: IpBlock v -> IpBlock v -> Bool #

Ord (IpBlock v) Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

Methods

compare :: IpBlock v -> IpBlock v -> Ordering #

(<) :: IpBlock v -> IpBlock v -> Bool #

(<=) :: IpBlock v -> IpBlock v -> Bool #

(>) :: IpBlock v -> IpBlock v -> Bool #

(>=) :: IpBlock v -> IpBlock v -> Bool #

max :: IpBlock v -> IpBlock v -> IpBlock v #

min :: IpBlock v -> IpBlock v -> IpBlock v #

Read (IpBlock Unaligned) Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

Show (IpBlock v) Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

Methods

showsPrec :: Int -> IpBlock v -> ShowS #

show :: IpBlock v -> String #

showList :: [IpBlock v] -> ShowS #

Generic (IpBlock v) Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

Associated Types

type Rep (IpBlock v) :: Type -> Type #

Methods

from :: IpBlock v -> Rep (IpBlock v) x #

to :: Rep (IpBlock v) x -> IpBlock v #

Contains (IpBlock Canonical) Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

type Rep (IpBlock v) Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

type Rep (IpBlock v) = D1 ('MetaData "IpBlock" "HaskellWorks.Data.Network.Ip.Ipv6" "hw-ip-2.4.2.1-KjdsdvjGQA9E9yHDWzWWXb" 'False) (C1 ('MetaCons "IpBlock" 'PrefixI 'True) (S1 ('MetaSel ('Just "base") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 IpAddress) :*: S1 ('MetaSel ('Just "mask") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 IpNetMask)))

fromV4 :: IpBlock Canonical -> IpBlock v Source #

Deprecated: Deprecated due to poor naming. Use fromIpv4Block instead.