fst-0.10.0.0: Finite state transducers

Safe HaskellSafe-Inferred

FST.TransducerTypes

Contents

Description

Type system for transducers

Synopsis

Types

type StateTy = IntSource

A state

type FinalStates = [StateTy]Source

Final states

type FirstState = IntSource

First state

type LastState = IntSource

Last state

type Sigma a = [a]Source

The alphabet of an automaton

type Relation a = (Upper a, Lower a)Source

A relation between upper/lower languages

type Upper a = Symbol aSource

Upper language

type Lower a = Symbol aSource

Lower language

data Symbol a Source

A symbol

Constructors

S a 
Eps 

Instances

Eq a => Eq (Symbol a) 
Read a => Read (Symbol a) 
Show a => Show (Symbol a) 

type TTransitions a = [(Relation a, StateTy)]Source

Transducer transitions

type TTransitionTable a = [(StateTy, [(Relation a, StateTy)])]Source

Transducer transition table

type InitialStates = [StateTy]Source

Initial states