Added TODO

Reject function that contains globals since the value of those globals could change, invaliding the cache.
This commit is contained in:
Justin Ethier 2019-02-06 13:42:04 -05:00
parent d6e2717407
commit 4ac9b64bc2

View file

@ -38,7 +38,9 @@
) )
((quote? exp) exp) ((quote? exp) exp)
((const? exp) #t) ((const? exp) #t)
((ref? exp) exp) ((ref? exp)
TODO: if exp is a global, return false
exp)
((define? exp) ((define? exp)
(return #f)) (return #f))
((set!? exp) ((set!? exp)