Handling exceptions
Add handler clause to expressions to handle (some) exceptions raised in that expression
Must return same type as handled expression
- (find is_positive [~3,~5]) handle NotFound => 0
0 : int
Previous slide
Next slide
Back to first slide
View graphic version