From 894d3c54516c482eb89c409f39305fb428082b65 Mon Sep 17 00:00:00 2001 From: Alex Shinn <ashinn@users.noreply.github.com> Date: Sun, 5 Jan 2014 07:26:03 -0500 Subject: [PATCH] Typo in odd? simplification from last patch. --- lib/init-7.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/init-7.scm b/lib/init-7.scm index 63251a28..a57826e5 100644 --- a/lib/init-7.scm +++ b/lib/init-7.scm @@ -1102,7 +1102,7 @@ (define (positive? x) (> x 0)) (define (negative? x) (< x 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))