Macro stepper: fixed internal error
svn: r5583 original commit: 94ee28f1d50be46f7e0e759c3758af3781bcc54a
This commit is contained in:
parent
ea26c3f5ef
commit
3b5732fb6e
|
@ -245,7 +245,8 @@
|
||||||
(let ([ctx (lambda (x) (path-replace term path0 x))])
|
(let ([ctx (lambda (x) (path-replace term path0 x))])
|
||||||
(append (with-context ctx
|
(append (with-context ctx
|
||||||
(reductions deriv0))
|
(reductions deriv0))
|
||||||
(loop (path-replace term path0 (deriv-e2 deriv0))
|
(loop (and (deriv? deriv0)
|
||||||
|
(path-replace term path0 (deriv-e2 deriv0)))
|
||||||
(cdr subterms)))))]
|
(cdr subterms)))))]
|
||||||
[(s:rename? (car subterms))
|
[(s:rename? (car subterms))
|
||||||
(let* ([subterm0 (car subterms)])
|
(let* ([subterm0 (car subterms)])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user