mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-22 07:09:17 +02:00
Set immutable for evaluated quotes
This commit is contained in:
parent
e85a04fd81
commit
6920b8f568
1 changed files with 1 additions and 0 deletions
|
@ -434,6 +434,7 @@
|
||||||
|
|
||||||
(define (analyze-quoted exp)
|
(define (analyze-quoted exp)
|
||||||
(let ((qval (cadr exp)))
|
(let ((qval (cadr exp)))
|
||||||
|
(Cyc-set-immutable! qval) ;; TODO: OK? Don't want to modify a persistent object
|
||||||
(lambda (env) qval)))
|
(lambda (env) qval)))
|
||||||
|
|
||||||
(define-c assoc-cdr
|
(define-c assoc-cdr
|
||||||
|
|
Loading…
Add table
Reference in a new issue