Make.Atype s = S.tmodule State : Automata.WFA.S with type t = Base.intval mk : s Base.list -> s Base.list Automata.Char.map -> s Base.list -> tmk init trans out constructs a WFA from flat lists. init has length n (one entry per state). trans maps each character to a flat list of length n² (row-major). out has length n.
val outs : t -> Automata.Word.t -> souts aut w evaluates the WFA on word w, returning iota · M(w) · lambda.
val to_string : t -> Base.stringval stats : t -> Automata.WFA.statsval stats_to_string : t -> Base.string