Creating infinite sequences with Stream.unfold/2
Want to learn how to create infinite sequences in Elixir?
We can do it with Stream.unfold/2
🤯
Check out how we use it to generate a finite sequence, an infinite sequence, and the Fibonacci sequence. 😊
🎥 https://elixirstreams.com/tips/creating-infinite-sequences-with-unfold