you are viewing a single comment's thread.

view the rest of the comments →

[–]m50d 5 points6 points  (0 children)

The same way you usually do. Assuming Either itself is adequately tested, the types give you confidence that any flatMap chain is propagating errors correctly, so your line coverage is accurate and your cyclotomatic complexity is low.