Set immutable for evaluated quotes

This commit is contained in:
Justin Ethier 2019-05-21 13:06:51 -04:00
parent e85a04fd81
commit 6920b8f568

View file

@ -434,6 +434,7 @@
(define (analyze-quoted exp)
(let ((qval (cadr exp)))
(Cyc-set-immutable! qval) ;; TODO: OK? Don't want to modify a persistent object
(lambda (env) qval)))
(define-c assoc-cdr