Copyright | (C) 2011 Edward Kmett |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | experimental |
Portability | type families |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
class (Monad g, Eq (Vertex g), Eq (Edge g)) => Graph g where Source #
Instances
type VertexMap g = PropertyMap g (Vertex g) Source #
type EdgeMap g = PropertyMap g (Edge g) Source #
liftVertexMap :: (MonadTrans t, Graph (t g), Graph g, Vertex (t g) ~ Vertex g) => a -> t g (VertexMap (t g) a) Source #
liftEdgeMap :: (MonadTrans t, Graph (t g), Graph g, Edge (t g) ~ Edge g) => a -> t g (EdgeMap (t g) a) Source #