3 ms·
One thing that comes to mind is that looping is limited to recursion in scheme. This becomes quite coumbersome IMO since it is a pretty important thing. Writing
by bjoli 8y ago
One thing that comes to mind is that looping is limited to recursion in scheme. This becomes quite coumbersome IMO since it is a pretty important thing. Writing named lets for simple things is not anyone's preferred way.
It is however pretty easy to implement something like racket's for loops on scheme using lower level macros, and there are some available.
Implementing something like common lisps iter is actually not very hard, and even improving upon racket's for loops is far from complex.
- deleted 8y ago[deleted]
- jimhefferon 8y ago> looping is limited to recursion in scheme I believe that Scheme's DO is looping.
- bjoli 8y agoWhich is still painful to use compared to python's for loops or comprehensions