graph-core-0.3.0.0: Fast, memory efficient and persistent graph implementation

Safe HaskellSafe
LanguageHaskell98

Data.Core.Graph.NodeManager

Documentation

data NodeManager k #

Instances

Eq k => Eq (NodeManager k) # 
Show k => Show (NodeManager k) # 

type Node = Int #

type NodeMap v = IntMap v #

getNodeHandle :: (Hashable k, Eq k, MonadState (NodeManager k) m) => k -> m Node #

keys :: NodeManager k -> [k] #

hasKey :: (Eq k, Hashable k) => k -> NodeManager k -> Bool #

toList :: NodeManager k -> [(k, Node)] #