HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

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.

Synopsis
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