Edge-labelled graphs, where the type variable e stands for edge labels.
For example, Graph Bool a is isomorphic to unlabelled graphs defined in
the top-level module Algebra.Graph.Graph, where False and True denote
the lack of and the existence of an unlabelled edge, respectively.
Instances16Bifunctor, Functor, Eq, Num, Ord, Show, …
Bifunctor GraphDefined in algebraic-graphs-0.8 · Algebra.Graph.LabelledFunctor (Graph e)Defined in algebraic-graphs-0.8 · Algebra.Graph.Labelled(Eq e, Monoid e, Ord a) => Eq (Graph e a)Defined in algebraic-graphs-0.8 · Algebra.Graph.Labelled(Ord a, Num a, Dioid e) => Num (Graph e a)Defined in algebraic-graphs-0.8 · Algebra.Graph.LabelledNote: this does not satisfy the usual ring laws; see Graph for more details.
(Monoid e, Ord a, Ord e) => Ord (Graph e a)Defined in algebraic-graphs-0.8 · Algebra.Graph.Labelled(Show a, Show e) => Show (Graph e a)Defined in algebraic-graphs-0.8 · Algebra.Graph.LabelledIsString a => IsString (Graph e a)Defined in algebraic-graphs-0.8 · Algebra.Graph.LabelledGeneric (Graph e a)Defined in algebraic-graphs-0.8 · Algebra.Graph.LabelledMonoid e => Semigroup (Graph e a)Defined in algebraic-graphs-0.8 · Algebra.Graph.LabelledDefined via overlay.
Monoid e => Monoid (Graph e a)Defined in algebraic-graphs-0.8 · Algebra.Graph.Labelled(NFData e, NFData a) => NFData (Graph e a)Defined in algebraic-graphs-0.8 · Algebra.Graph.LabelledDioid e => Graph (Graph e a)Defined in algebraic-graphs-0.8 · Algebra.Graph.Class(Eq e, Monoid e, Ord a) => ToGraph (Graph e a)Defined in algebraic-graphs-0.8 · Algebra.Graph.Labelledtype Rep (Graph e a) = D1 ('MetaDataDefined in algebraic-graphs-0.8 · Algebra.Graph.Labelled"Graph"
"Algebra.Graph.Labelled"
"algebraic-graphs-0.8-8JX2W3BiNP382gnPBc0Np8"
'False) (C1 ('MetaCons"Empty"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"Vertex"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)) :+: C1 ('MetaCons"Connect"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 e) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Graph e a)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Graph e a))))))type Vertex (Graph e a) = aDefined in algebraic-graphs-0.8 · Algebra.Graph.Classtype ToVertex (Graph e a) = aDefined in algebraic-graphs-0.8 · Algebra.Graph.Labelled