projects
/
8sync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdc84b7
)
Oops, mixed up a car with a cdr, which is never wise :)
author
Christopher Allan Webber
<cwebber@dustycloud.org>
Fri, 20 Nov 2015 04:15:04 +0000
(22:15 -0600)
committer
Christopher Allan Webber
<cwebber@dustycloud.org>
Fri, 20 Nov 2015 04:15:04 +0000
(22:15 -0600)
loopy.scm
patch
|
blob
|
history
diff --git
a/loopy.scm
b/loopy.scm
index 3113f82d94aa23f584c54fce89770b06f1915ffe..5477af677f65d7e8464eb3af686e1a1b591484c8 100644
(file)
--- 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))
- (- (c
a
r time2) (cdr time2)))))
+ (- (c
d
r time2) (cdr time2)))))
(define (time-plus time1 time2)
(time-carry-correct
(cons (+ (car time1) (car time2))
- (+ (c
a
r time2) (cdr time2)))))
+ (+ (c
d
r time2) (cdr time2)))))
(define-record-type <schedule>