Email list hosting service & mailing list manager


Question about in-interval in arrays.rkt Bradley Lucier 13 Feb 2022 01:38 UTC

Jens Axel:

I'm beginning to understand SRFI 42 and Racket's iterators, where you
basically have an inversion of control between the iterators and the
comprehension.

I've looked at in-interval in

https://github.com/soegaard/srfi-array/blob/main/arrays.rkt

I see what you're doing (I think) but when I was thinking about how to
organize the code I initially thought of a series of nested :range's,
one for each index variable.

What do you think of that approach?

Brad