Streams: Lazy Enumerables
Learn about streams and how to create them for different purposes in Elixir.
We'll cover the following...
In Elixir, the Enum module is greedy. This means that when we pass it a collection, it potentially consumes all the contents of that collection. It also means the result will typically be another collection. Look at the following ...