Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
shawn_w
11 months ago
|
parent
|
context
|
favorite
| on:
Gamedev in Lisp. Part 2: Dungeons and Interfaces
And then there's Scheme, where there are no iterative loops; all looping is done with recursion. You can build pretty much everything other languages do with loops on top of that, though.
groovy2shoes
11 months ago
[–]
Not true. Scheme has `do`. See R7RS section 4.2.4 "Iteration".
shawn_w
11 months ago
|
parent
[–]
Scheme's `do` is implemented using recursion. There's a sample macro for it in 7.3.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: