Introduction to the Flow Library
Get an overview of the Flow library in Elixir and then create a new mix project containing this dependency.
The Enum
and Stream
modules
Since Elixir is a functional language and all data is immutable, most Elixir developers quickly get accustomed to using functions like map
, filter
, and reduce
on a daily basis. These and other data-processing functions, found in the Enum
and Stream
modules, are essential to functional programming and help us transform data in various ways.
The limitations of Enum
and Stream
However, as the amount of data we have to process grows, so does the time it takes to finish the work. We ...