HORIZON HASKELLDocslts/ghc-9.14.xd82dee82026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · d82dee8 · 2026-10-12

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