schemify: add reduction of (not #f)

This commit is contained in:
Gustavo Massaccesi 2018-06-14 11:15:39 -03:00
parent 96161f68eb
commit 9cd3798ca9

View File

@ -19,6 +19,10 @@
(if (literal? t)
(if (unwrap t) e1 e2)
v)]
[`(not ,t)
(if (literal? t)
`,(not (unwrap t))
v)]
[`(procedure? ,e)
(define u (unwrap e))
(cond