Network.Tox.NodeInfo.PortNumber
newtype PortNumber Source #
Constructors
Defined in Network.Tox.NodeInfo.PortNumber
Methods
minBound :: PortNumber #
maxBound :: PortNumber #
succ :: PortNumber -> PortNumber #
pred :: PortNumber -> PortNumber #
toEnum :: Int -> PortNumber #
fromEnum :: PortNumber -> Int #
enumFrom :: PortNumber -> [PortNumber] #
enumFromThen :: PortNumber -> PortNumber -> [PortNumber] #
enumFromTo :: PortNumber -> PortNumber -> [PortNumber] #
enumFromThenTo :: PortNumber -> PortNumber -> PortNumber -> [PortNumber] #
(==) :: PortNumber -> PortNumber -> Bool #
(/=) :: PortNumber -> PortNumber -> Bool #
quot :: PortNumber -> PortNumber -> PortNumber #
rem :: PortNumber -> PortNumber -> PortNumber #
div :: PortNumber -> PortNumber -> PortNumber #
mod :: PortNumber -> PortNumber -> PortNumber #
quotRem :: PortNumber -> PortNumber -> (PortNumber, PortNumber) #
divMod :: PortNumber -> PortNumber -> (PortNumber, PortNumber) #
toInteger :: PortNumber -> Integer #
(+) :: PortNumber -> PortNumber -> PortNumber #
(-) :: PortNumber -> PortNumber -> PortNumber #
(*) :: PortNumber -> PortNumber -> PortNumber #
negate :: PortNumber -> PortNumber #
abs :: PortNumber -> PortNumber #
signum :: PortNumber -> PortNumber #
fromInteger :: Integer -> PortNumber #
compare :: PortNumber -> PortNumber -> Ordering #
(<) :: PortNumber -> PortNumber -> Bool #
(<=) :: PortNumber -> PortNumber -> Bool #
(>) :: PortNumber -> PortNumber -> Bool #
(>=) :: PortNumber -> PortNumber -> Bool #
max :: PortNumber -> PortNumber -> PortNumber #
min :: PortNumber -> PortNumber -> PortNumber #
readsPrec :: Int -> ReadS PortNumber #
readList :: ReadS [PortNumber] #
readPrec :: ReadPrec PortNumber #
readListPrec :: ReadPrec [PortNumber] #
toRational :: PortNumber -> Rational #
showsPrec :: Int -> PortNumber -> ShowS #
show :: PortNumber -> String #
showList :: [PortNumber] -> ShowS #
Associated Types
type Rep PortNumber :: Type -> Type #
from :: PortNumber -> Rep PortNumber x #
to :: Rep PortNumber x -> PortNumber #
arbitrary :: Gen PortNumber #
shrink :: PortNumber -> [PortNumber] #
put :: PortNumber -> Put #
get :: Get PortNumber #
putList :: [PortNumber] -> Put #
toObject :: Config -> PortNumber -> Object #
fromObjectWith :: (Applicative m, Monad m, MonadValidate DecodeError m) => Config -> Object -> m PortNumber #