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

Safe HaskellNone
LanguageHaskell98

Data.Core.Graph

Documentation

type Node = Int Source

data Edge Source

Constructors

Edge 

Fields

src :: !Node
 
tgt :: !Node
 

hullFold :: Graph -> (b -> Node -> b) -> b -> Node -> b Source

hullFoldM :: Monad m => Graph -> (b -> Node -> m b) -> b -> Node -> m b Source

rhullFold :: Graph -> (b -> Node -> b) -> b -> Node -> b Source

edgesAdj :: AdjList -> [Edge] Source