From: Christopher Allan Webber Date: Fri, 20 Nov 2015 04:15:04 +0000 (-0600) Subject: Oops, mixed up a car with a cdr, which is never wise :) X-Git-Tag: v0.1.0~136 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=9ed57ce7714e4228941d689aa717196d3280db43;p=8sync.git Oops, mixed up a car with a cdr, which is never wise :) --- 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