Ulrich Schuster
12/28/2025, 12:01 PMshouldRaiseAccumulate and shouldNotRaiseAccumulate to test error-accumulating functions? Or do I always need to wrap my block in another accumulate {..} when testing?Alejandro Serrano.Mena
12/28/2025, 12:29 PMUlrich Schuster
12/28/2025, 12:48 PMRaise only, not RaiseAccumulate.Youssef Shoaib [MOD]
12/28/2025, 8:44 PMiorAccumulate and assertions on that, akin to using either for testing Raise
In fact, it'll give you slightly more info than just wrapping your code in `accumulate`: accumulate fails on any raised error, while iorAccumulate does not. For an analogy, accumulate turns your Ior into an Either by turning Both into LeftRiccardo Cardin
12/29/2025, 8:26 AM