toxcore-0.2.12: A Tox protocol implementation in Haskell
Safe HaskellNone
LanguageHaskell2010

Network.Tox.Crypto.Keyed

Description

Monad class for caching of combined keys

Synopsis

Documentation

class (Monad m, Applicative m) => Keyed m where Source #

Instances

Instances details
Keyed NullKeyed Source # 
Instance details

Defined in Network.Tox.Crypto.Keyed

(Monad m, Applicative m) => Keyed (KeyedT m) Source # 
Instance details

Defined in Network.Tox.Crypto.KeyedT

Keyed m => Keyed (TimedT m) Source # 
Instance details

Defined in Network.Tox.TimedT

Keyed m => Keyed (RandT s m) Source # 
Instance details

Defined in Network.Tox.Crypto.Keyed

Keyed m => Keyed (StateT s m) Source # 
Instance details

Defined in Network.Tox.Crypto.Keyed

(Monoid w, Keyed m) => Keyed (WriterT w m) Source # 
Instance details

Defined in Network.Tox.Crypto.Keyed

Keyed m => Keyed (ReaderT r m) Source # 
Instance details

Defined in Network.Tox.Crypto.Keyed

(Monoid w, Keyed m) => Keyed (RWST r w s m) Source # 
Instance details

Defined in Network.Tox.Crypto.Keyed

newtype NullKeyed a Source #

trivial instance: the trivial monad, with no caching of keys

Constructors

NullKeyed 

Fields

Instances

Instances details
Monad NullKeyed Source # 
Instance details

Defined in Network.Tox.Crypto.Keyed

Methods

(>>=) :: NullKeyed a -> (a -> NullKeyed b) -> NullKeyed b #

(>>) :: NullKeyed a -> NullKeyed b -> NullKeyed b #

return :: a -> NullKeyed a #

Functor NullKeyed Source # 
Instance details

Defined in Network.Tox.Crypto.Keyed

Methods

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

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

Applicative NullKeyed Source # 
Instance details

Defined in Network.Tox.Crypto.Keyed

Methods

pure :: a -> NullKeyed a #

(<*>) :: NullKeyed (a -> b) -> NullKeyed a -> NullKeyed b #

liftA2 :: (a -> b -> c) -> NullKeyed a -> NullKeyed b -> NullKeyed c #

(*>) :: NullKeyed a -> NullKeyed b -> NullKeyed b #

(<*) :: NullKeyed a -> NullKeyed b -> NullKeyed a #

Keyed NullKeyed Source # 
Instance details

Defined in Network.Tox.Crypto.Keyed