File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
src/Std/Data/Iterators/Lemmas/Combinators Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,15 @@ namespace Std.Iterators
1515
1616variable {α₁ α₂ β₁ β₂ : Type w} {m : Type w → Type w'}
1717
18- def Iter.Intermediate.zip [Iterator α₁ Id β₁]
18+ /--
19+ Constructs intermediate states of an iterator created with the combinator `Iter.zip`.
20+ When `left.zip right` has already obtained a value from `left` but not yet from right,
21+ it remembers `left`'s value in a field of its internal state. This intermediate state
22+ cannot be created directly with `Iter.zip`.
23+
24+ `Intermediate.zip` is meant to be used only for verification purposes.
25+ -/
26+ noncomputable def Iter.Intermediate.zip [Iterator α₁ Id β₁]
1927 (it₁ : Iter (α := α₁) β₁)
2028 (memo : (Option { out : β₁ //
2129 ∃ it : Iter (α := α₁) β₁, it.toIterM.IsPlausibleOutput out }))
You can’t perform that action at this time.
0 commit comments