Can I use \ / type of scalp to accumulate failures?

I know that \ / (the type of disjunction) in scalaz can be used for a "quick crash", i.e. return the first failure in a sequence of function calls. What if I want to "fail slowly", i.e. Accumulate glitches? I can use Validationfor scalaz.

Now I wonder: \ / (type of disjunction) provides any built-in support for accumulating failures.

+4
source share

Source: https://habr.com/ru/post/1534202/


All Articles