Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Fun.Deep
SourceUseful helper functions for deep handlers.
finally f
runs the thunk f
and calls continue
if a value is returned and discontinue
if an exception is raised. Here is an example that calls List.nth
and then either returns the found element with continue
or raises the exception Not_found
with discontinue
.
Algaeff.Fun.Deep.finally k @@ fun () -> List.nth elements n