So I first came across the concept of coroutines in lua and lua's implementation was more or less understandable.. I'm learning scheme now and I understand that the same functionality is implemented with call/cc, but I'm having a bit of trouble wrapping my head around how exactly one would go about achieving this. Anyone know an easy tutorial or something on the subject?
Asked
Active
Viewed 1,258 times
1 Answers
1
Matt Might has written a good introduction to continuations, including a section on coroutines:

cam
- 14,192
- 1
- 44
- 29