schemify: add reduction of (not #f)
This commit is contained in:
parent
96161f68eb
commit
9cd3798ca9
|
@ -19,6 +19,10 @@
|
||||||
(if (literal? t)
|
(if (literal? t)
|
||||||
(if (unwrap t) e1 e2)
|
(if (unwrap t) e1 e2)
|
||||||
v)]
|
v)]
|
||||||
|
[`(not ,t)
|
||||||
|
(if (literal? t)
|
||||||
|
`,(not (unwrap t))
|
||||||
|
v)]
|
||||||
[`(procedure? ,e)
|
[`(procedure? ,e)
|
||||||
(define u (unwrap e))
|
(define u (unwrap e))
|
||||||
(cond
|
(cond
|
||||||
|
|
Loading…
Reference in New Issue
Block a user