Oban Recipes Part 5: Batch Jobs Gearbox - A functional state machine with an easy-to-use API, inspired by both Fsm and Machinery

LazyFor → Kernel.SpecialForms.for/1 but returning stream

The stream-based implementation of Kernel.SpecialForms.for/1.

Allows the same syntax as for and acts the same way. This is an initial release. It does not yet support :into, :uniq and :reduce options and bitstring comprehensions.

Everything else is supported.

https://hexdocs.pm/lazy_for