buzz icon indicating copy to clipboard operation
buzz copied to clipboard

Express error of callbacks in functional helpers

Open giann opened this issue 1 year ago • 0 comments

Right now user is forced to handle error in callback because we can't forward the error to the helper. We would need something like:

list.reduce::<int, SomeError>(
    fun (int i, int val, int acc) > int !> SomeError {
        | ...
    }
);

giann avatar May 21 '24 10:05 giann