ppCFm
functor
signature PPCFM
functor ppCFm
(LABEL) : PPCFM
This functor creates finite automata with an updatable counter collecting the input positions where a final state was reached.
eqtype label
include FM
val display : label machine -> string -> OS.Process.status
val hits : ''a machine -> ''a list -> int list
eqtype label
display m s
hits m l
ppMatcher
Note that hits report end positions of matching strings, not initial position. To create a pattern matcher for a regular set of pattern strings, use the functor ppMatcher.