package stdune

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t
val protect : f:(unit -> 'a t) -> finally:(unit -> unit) -> 'a t

Like Exn.protect but lifted to M.

OCaml

Innovation. Community. Security.