Skip to content

hh-ex/flow-kata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flow Kata

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 Enum or Stream variants

How to solve the kata

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:9
  • city_names: mix test test/flow_kata_test.exs:23
  • average: mix test test/flow_kata_test.exs:28
  • average_by_city: mix test test/flow_kata_test.exs:32

If you need help

This repository contains 3 branches:

  • master: skeleton where you have to write the implementation show file
  • tips: skeleton with tips inside the function bodies show file
  • solution: complete solution with explanatory comments show file

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages