pull/10/head
Matthew Butterick 8 years ago
parent 86e19e0c0e
commit 17785714fe

@ -21,9 +21,4 @@
(define-macro-cases b-expt (define-macro-cases b-expt
[(_ VAL) #'VAL] [(_ VAL) #'VAL]
[(_ LEFT "^" RIGHT) #'(expt LEFT RIGHT)]) [(_ LEFT "^" RIGHT) #'(expt LEFT RIGHT)])
(define (b-not expr) (if (zero? expr) 1 0))
(define-macro (b-def ID VAR EXPR)
#'(set! ID (λ (VAR) EXPR)))
Loading…
Cancel
Save