text_delta v1.0.2 TextDelta.Delta.Iterator
Iterator iterates over two deltas at the same time, ensuring next elements in the resulting stream are of equal length.
Summary
Types
A tuple representing the new head operations and tail deltas of the two deltas being iterated over
A delta’s next scanned full or partial operation, and its resulting tail delta
Two deltas to iterate
A type which is not to be sliced when iterating. Can be :insert
, :delete
or nil
Functions
Generates next cycle by iterating over given deltas
Types
A tuple representing the new head operations and tail deltas of the two deltas being iterated over.
A delta’s next scanned full or partial operation, and its resulting tail delta.
Two deltas to iterate.