OutOfBounds
eff OutOfBoundsSourceIndicates that an index was out of bounds.
Useful for instances of Index or IndexMut.
Operations
Definitions
@Experimental Handles the OutOfBounds effect of the given function f by converting
out-of-bounds errors to Result values.
Returns Ok(f(x)) if the computation completes successfully.
Returns Err(msg) if the computation raises outOfBounds(msg).