I was looking into sequences a bit more, and was surprised to see that
there doesn't appear to be a "for" loop to generate sequences in the
standard library.

I've coded up an implementation for for/seq and for*/seq:

    https://gist.github.com/3774030

It uses generators behind the scenes.  Suggestion for improvements?
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to