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

Network.Tox.DHT.DhtState

Documentation

data DhtState Source #

Instances

Instances details
Eq DhtState Source # 
Instance details

Defined in Network.Tox.DHT.DhtState

Read DhtState Source # 
Instance details

Defined in Network.Tox.DHT.DhtState

Show DhtState Source # 
Instance details

Defined in Network.Tox.DHT.DhtState

Arbitrary DhtState Source # 
Instance details

Defined in Network.Tox.DHT.DhtState

NodeList DhtState Source #

although it is not referred to as a Node List in the spec, we make DhtState an instance of NodeList so we can use the traversal and folding functions.

Instance details

Defined in Network.Tox.DHT.DhtState

DhtNodeMonad TestDhtNodeMonad Source # 
Instance details

Defined in Network.Tox.DHT.Operation

traverseNodeLists :: Applicative f => (forall l. NodeList l => l -> f l) -> DhtState -> f DhtState Source #

foldMapNodeLists :: Monoid m => (forall l. NodeList l => l -> m) -> DhtState -> m Source #

mapNodeLists :: (forall l. NodeList l => l -> l) -> DhtState -> DhtState Source #