It was easier to add separate examples for filter rather than trying to fit it into the bigger example.
Filter would logically replace the first and_then but we don't want to lose and_then in the example. Let me know if you prefer a slightly more artificial example but one that uses all the monadic operations in one pipeline.
Fixes #21
It was easier to add separate examples for
filter
rather than trying to fit it into the bigger example. Filter would logically replace the firstand_then
but we don't want to loseand_then
in the example. Let me know if you prefer a slightly more artificial example but one that uses all the monadic operations in one pipeline.