mirror of
https://github.com/github/semantic.git
synced 2025-01-02 12:23:08 +03:00
The Recursive case contains two Terms, not one.
This commit is contained in:
parent
b30aa91502
commit
f9dcf9569c
@ -6,8 +6,8 @@ public enum Algorithm<Recur, A> {
|
||||
/// The type of `Diff`s which `Algorithm`s produce.
|
||||
public typealias Diff = Free<A, Patch<A>>
|
||||
|
||||
/// Indicates that diffing should recur into the enclosed `Term`.
|
||||
/// Indicates that diffing should compare the enclosed `Term`s.
|
||||
///
|
||||
/// When run, the enclosed function will be applied to the resulting `Diff`.
|
||||
case Recursive(Term, Diff -> Recur)
|
||||
case Recursive(Term, Term, Diff -> Recur)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user