Fix move-to-dmap functions
original commit: 9f99c914f3ce2c00119b64caa0be1a286df398c1
This commit is contained in:
parent
f1ef77e550
commit
16617152c5
|
@ -58,12 +58,12 @@
|
|||
(define (mover cset dbound vars f)
|
||||
(map/cset
|
||||
(lambda (cmap dmap)
|
||||
(cons (hash-remove* cmap vars)
|
||||
(cons (hash-remove* cmap (cons dbound vars))
|
||||
(dmap-meet
|
||||
(singleton-dmap
|
||||
dbound
|
||||
(f cmap dmap))
|
||||
dmap)))
|
||||
(make-dmap (hash-remove (dmap-map dmap) dbound)))))
|
||||
cset))
|
||||
|
||||
;; dbound : index variable
|
||||
|
@ -85,7 +85,7 @@
|
|||
;;
|
||||
(d/c (move-rest-to-dmap cset dbound #:exact [exact? #f])
|
||||
((cset? symbol?) (#:exact boolean?) . ->* . cset?)
|
||||
(mover cset dbound (list dbound)
|
||||
(mover cset dbound null
|
||||
(λ (cmap dmap)
|
||||
((if exact? make-dcon-exact make-dcon)
|
||||
null
|
||||
|
|
Loading…
Reference in New Issue
Block a user