From 9ed57ce7714e4228941d689aa717196d3280db43 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Thu, 19 Nov 2015 22:15:04 -0600 Subject: [PATCH] Oops, mixed up a car with a cdr, which is never wise :) --- loopy.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loopy.scm b/loopy.scm index 3113f82..5477af6 100644 --- a/loopy.scm +++ b/loopy.scm @@ -174,12 +174,12 @@ Will produce (0 . 0) instead of a negative number, if needed." (define (time-minus time1 time2) (time-carry-correct (cons (- (car time1) (car time2)) - (- (car time2) (cdr time2))))) + (- (cdr time2) (cdr time2))))) (define (time-plus time1 time2) (time-carry-correct (cons (+ (car time1) (car time2)) - (+ (car time2) (cdr time2))))) + (+ (cdr time2) (cdr time2))))) (define-record-type -- 2.31.1