mirror of
https://github.com/github/semantic.git
synced 2024-12-27 08:54:14 +03:00
Add a wrapper function to compute the SES.
This commit is contained in:
parent
1ecafbff43
commit
286b91a88d
@ -40,6 +40,10 @@ private let b = Term.In(.Leaf(.Literal("b", [])))
|
||||
private let c = Term.In(.Leaf(.Literal("c", [])))
|
||||
private let d = Term.In(.Leaf(.Literal("d", [])))
|
||||
|
||||
private func SES(a: [Term], _ b: [Term]) -> [Diff] {
|
||||
return SES(a, b, equals: ==, recur: { Diff.Pure(Patch.Replace($0, $1)) })
|
||||
}
|
||||
|
||||
|
||||
@testable import Doubt
|
||||
import XCTest
|
||||
|
Loading…
Reference in New Issue
Block a user