HORIZON HASKELLDocslts/ghc-10.0.xc62e4de2026-10-19Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · c62e4de · 2026-10-19

Modulealgebraic-graphs-0.8Haskell2010

Algebra.Graph.Labelled.Example.Automaton

Alga is a library for algebraic construction and manipulation of graphs in Haskell. See this paper for the motivation behind the library, the underlying theory, and implementation details.

This module contains a simple example of using edge-labelled graphs defined in the module Algebra.Graph.Labelled for working with finite automata.

  • 2 types
  • 2 values
datadata Alphabet
#

The alphabet of actions for ordering coffee or tea.

Constructors

Instances5Bounded, Enum, Eq, Ord, Show
  • Bounded AlphabetDefined in algebraic-graphs-0.8 · Algebra.Graph.Labelled.Example.Automaton
  • Enum AlphabetDefined in algebraic-graphs-0.8 · Algebra.Graph.Labelled.Example.Automaton
  • Eq AlphabetDefined in algebraic-graphs-0.8 · Algebra.Graph.Labelled.Example.Automaton
  • Ord AlphabetDefined in algebraic-graphs-0.8 · Algebra.Graph.Labelled.Example.Automaton
  • Show AlphabetDefined in algebraic-graphs-0.8 · Algebra.Graph.Labelled.Example.Automaton
datadata State
#

The state of the order.

Constructors

Instances5Bounded, Enum, Eq, Ord, Show
  • Bounded StateDefined in algebraic-graphs-0.8 · Algebra.Graph.Labelled.Example.Automaton
  • Enum StateDefined in algebraic-graphs-0.8 · Algebra.Graph.Labelled.Example.Automaton
  • Eq StateDefined in algebraic-graphs-0.8 · Algebra.Graph.Labelled.Example.Automaton
  • Ord StateDefined in algebraic-graphs-0.8 · Algebra.Graph.Labelled.Example.Automaton
  • Show StateDefined in algebraic-graphs-0.8 · Algebra.Graph.Labelled.Example.Automaton