hw-ip-2.0.1.0: Library for manipulating IP addresses and CIDR blocks

Safe HaskellSafe
LanguageHaskell2010

HaskellWorks.Data.Network.Ip.SafeEnum

Documentation

class SafeEnum a where Source #

Methods

safePred :: a -> Maybe a Source #

safeSucc :: a -> Maybe a Source #

Instances
SafeEnum Bool Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.SafeEnum

SafeEnum Char Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.SafeEnum

SafeEnum Int Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.SafeEnum

SafeEnum Int8 Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.SafeEnum

SafeEnum Int16 Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.SafeEnum

SafeEnum Int32 Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.SafeEnum

SafeEnum Int64 Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.SafeEnum

SafeEnum Integer Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.SafeEnum

SafeEnum Word Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.SafeEnum

SafeEnum Word8 Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.SafeEnum

SafeEnum Word16 Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.SafeEnum

SafeEnum Word32 Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.SafeEnum

SafeEnum Word64 Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.SafeEnum

SafeEnum () Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.SafeEnum

Methods

safePred :: () -> Maybe () Source #

safeSucc :: () -> Maybe () Source #

SafeEnum Word128 Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.SafeEnum

SafeEnum IpAddress Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv4

SafeEnum IpAddress Source # 
Instance details

Defined in HaskellWorks.Data.Network.Ip.Ipv6

boundedPred :: SafeEnum a => a -> a Source #

boundedSucc :: SafeEnum a => a -> a Source #