Typo in odd? simplification from last patch.

This commit is contained in:
Alex Shinn 2014-01-05 07:26:03 -05:00
parent d17720018c
commit 894d3c5451

View file

@ -1102,7 +1102,7 @@
(define (positive? x) (> x 0)) (define (positive? x) (> x 0))
(define (negative? x) (< x 0)) (define (negative? x) (< x 0))
(define (even? n) (= (remainder n 2) 0)) (define (even? n) (= (remainder n 2) 0))
(define (odd? n) (not (= (remainder n 1) 0))) (define (odd? n) (not (= (remainder n 2) 0)))
(define (abs x) (if (< x 0) (- x) x)) (define (abs x) (if (< x 0) (- x) x))