Slide 39
Slide 39 text
• Each use case will be equivalent to a single function
• The function will return a sum type with two cases: Success, Failure
• The use case function will be built from a series of smaller functions,
each representing one step in a data flow
• The errors from each step will be combined into a single failure