hDFA-0.0.2: A simple library for representing and minimising DFAs.

Safe HaskellSafe-Infered

Data.DFA.DOT

Description

graphviz DOT format operations.

Support here is rudimentary. It is probably better to build it on top of one of the existing libraries on Hackage.

Synopsis

Documentation

writeToFile :: DFA -> FilePath -> (Label -> String) -> IO ()Source

Write DFA to a file with the given FilePath in graphviz DOT format, using the given labelling function.