package lsp

  1. Overview
  2. Docs

doc/lsp.stdune/Stdune/Temp/Monad/argument-1-M/index.html

Parameter Monad.M

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.