Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
6
Task/Euler-method/Racket/euler-method-3.rkt
Normal file
6
Task/Euler-method/Racket/euler-method-3.rkt
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
(define (iterate-while test f x)
|
||||
(let next ([result x]
|
||||
[list-of-results '()])
|
||||
(if (apply test result)
|
||||
(next (apply f result) (cons result list-of-results))
|
||||
list-of-results)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue