language-toolkit-1.0.1.0: A set of tools for analyzing languages via logic and automata
Copyright(c) 2022 Dakotah Lambert
LicenseMIT
Safe HaskellSafe-Inferred
LanguageHaskell2010

LTK.Decide.Trivial

Description

This module implements a test for whether a given FSA has only a single state.

Since: 1.0

Synopsis

Documentation

isTrivial :: (Ord n, Ord e) => FSA n e -> Bool Source #

True iff the automaton has a single state.