stdune
Monad.M
stdune.filesystem_stubs
type 'a t
val protect : f:(unit -> 'a t) -> finally:(unit -> unit) -> 'a t
Like Exn.protect but lifted to M.
Exn.protect
M