I was wondering the same, thought maybe `for` or `for-each` on an input
stream since those dont accumulate into a data structure?

On Sat, Feb 23, 2019, 8:25 AM Zelphir Kaltstahl <[email protected]>
wrote:

> > The main difference, as has been pointed out before, is that Python
> generators are more common as an idiom for solving problems that in
> Racket would typically be approached differently.
>
> This piqued my interest. Can you elaborate a bit or give an example? How
> would one approach things with Racket differently?
>
> I imagine some input, that is too big and should be handled one element
> at a time instead. How would one do that in Racket, when not using
> something comparable to a Python generator?
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Racket Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/racket-users/MfhbwI5QuPw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to