protocol-radius-0.0.1.1: parser and printer for radius protocol packet

Safe HaskellNone
LanguageHaskell2010

Data.Radius.Packet

Documentation

data Code Source #

Instances
Eq Code Source # 
Instance details

Defined in Data.Radius.Packet

Methods

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

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

Ord Code Source # 
Instance details

Defined in Data.Radius.Packet

Methods

compare :: Code -> Code -> Ordering #

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

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

(>) :: Code -> Code -> Bool #

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

max :: Code -> Code -> Code #

min :: Code -> Code -> Code #

Show Code Source # 
Instance details

Defined in Data.Radius.Packet

Methods

showsPrec :: Int -> Code -> ShowS #

show :: Code -> String #

showList :: [Code] -> ShowS #

data Header Source #

Constructors

Header 
Instances
Eq Header Source # 
Instance details

Defined in Data.Radius.Packet

Methods

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

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

Show Header Source # 
Instance details

Defined in Data.Radius.Packet

data Packet a Source #

Constructors

Packet 

Fields

Instances
Functor Packet Source # 
Instance details

Defined in Data.Radius.Packet

Methods

fmap :: (a -> b) -> Packet a -> Packet b #

(<$) :: a -> Packet b -> Packet a #

Foldable Packet Source # 
Instance details

Defined in Data.Radius.Packet

Methods

fold :: Monoid m => Packet m -> m #

foldMap :: Monoid m => (a -> m) -> Packet a -> m #

foldr :: (a -> b -> b) -> b -> Packet a -> b #

foldr' :: (a -> b -> b) -> b -> Packet a -> b #

foldl :: (b -> a -> b) -> b -> Packet a -> b #

foldl' :: (b -> a -> b) -> b -> Packet a -> b #

foldr1 :: (a -> a -> a) -> Packet a -> a #

foldl1 :: (a -> a -> a) -> Packet a -> a #

toList :: Packet a -> [a] #

null :: Packet a -> Bool #

length :: Packet a -> Int #

elem :: Eq a => a -> Packet a -> Bool #

maximum :: Ord a => Packet a -> a #

minimum :: Ord a => Packet a -> a #

sum :: Num a => Packet a -> a #

product :: Num a => Packet a -> a #

Traversable Packet Source # 
Instance details

Defined in Data.Radius.Packet

Methods

traverse :: Applicative f => (a -> f b) -> Packet a -> f (Packet b) #

sequenceA :: Applicative f => Packet (f a) -> f (Packet a) #

mapM :: Monad m => (a -> m b) -> Packet a -> m (Packet b) #

sequence :: Monad m => Packet (m a) -> m (Packet a) #

Eq a => Eq (Packet a) Source # 
Instance details

Defined in Data.Radius.Packet

Methods

(==) :: Packet a -> Packet a -> Bool #

(/=) :: Packet a -> Packet a -> Bool #

Show a => Show (Packet a) Source # 
Instance details

Defined in Data.Radius.Packet

Methods

showsPrec :: Int -> Packet a -> ShowS #

show :: Packet a -> String #

showList :: [Packet a] -> ShowS #