Is there a built in way to exit the various kinds of for loops early?
I've been using code like:

(let/ec break
  (for ([i (in-range 1 100)]
        #:when (condition? i))
         (break i))))

Is there a better way?

Justin
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to