Typo: (fir l) was probably meant to be (fist l).
This commit is contained in:
parent
7a8145875c
commit
95ddfa4972
|
@ -119,7 +119,7 @@ racket
|
|||
(cond
|
||||
[(empty? l) #false]
|
||||
[else
|
||||
(define f (fir l))
|
||||
(define f (first l))
|
||||
(define r (rest l))
|
||||
(if (discounted? f)
|
||||
(rate f)
|
||||
|
@ -131,7 +131,7 @@ racket
|
|||
|
||||
(if (empty? l)
|
||||
#false
|
||||
(let ([f (fir l)]
|
||||
(let ([f (first l)]
|
||||
[r (rest l)])
|
||||
(if (discounted? f)
|
||||
(rate f)
|
||||
|
|
Loading…
Reference in New Issue
Block a user