Fixed cfold

This commit is contained in:
Sharjeel Khan
2022-11-11 04:01:08 -05:00
parent 4eb42d48f9
commit d440260d1c
5 changed files with 32 additions and 21 deletions

View File

@@ -79,7 +79,7 @@
('A f g) (+ (countD f) (countD g))
('M f g) (+ (countD f) (countD g))
('P f g) (+ (countD f) (countD g))
('L f g) (countD f))))
('L f g) (countD f)))
(define (nest-aux s f n x) (cond ((= n 0) x)
(true (nest-aux s f (- n 1) (f (- s n) x)))))