Shared codec word machines #
The original head and emptiness transducers, moved unchanged from Encodings.Basic.
Transducers for the word operations #
Emits a word determined by its input's first symbol, if any, and by drop: [true] followed by
the input (drop = none), the input without its first symbol (drop = some false), or just the
first symbol (drop = some true).
Instances For
Emits [true] on the empty word and [false] on every other word.