This kata is an introduction to flow and covers:
- Creating a flow from a data source
- The importance of partitions
- Map and reduce functions and how they behave differently from the
EnumorStreamvariants
Implement the functions in lib/flow_kata.ex.
To test if you're doing the right thing, run mix test.
You can test your implementations individually:
get_flow:mix test test/flow_kata_test.exs:9city_names:mix test test/flow_kata_test.exs:23average:mix test test/flow_kata_test.exs:28average_by_city:mix test test/flow_kata_test.exs:32
This repository contains 3 branches: