Change compute-patch to deal with trie-sets rather than -maps
This commit is contained in:
parent
118c163193
commit
7c11a438e4
|
@ -259,8 +259,8 @@
|
|||
[(cons p rest) (compose-patch (patch-seq* rest) p)]))
|
||||
|
||||
(define (compute-patch old-base new-base)
|
||||
(patch (trie-subtract new-base old-base)
|
||||
(trie-subtract old-base new-base)))
|
||||
(patch (trie-subtract new-base old-base #:combiner (lambda (v1 v2) trie-empty))
|
||||
(trie-subtract old-base new-base #:combiner (lambda (v1 v2) trie-empty))))
|
||||
|
||||
(define (biased-intersection object subject)
|
||||
(trie-intersect object
|
||||
|
|
Loading…
Reference in New Issue