package stdcompat

  1. Overview
  2. Docs
exception Finally_raised of exn
val id : 'a -> 'a
  • since 4.08.0: external id : 'a -> 'a = "%identity"
val const : 'a -> 'b -> 'a
  • since 4.08.0: val const : 'a -> 'b -> 'a
val flip : ('a -> 'b -> 'c) -> 'b -> 'a -> 'c
  • since 4.08.0: val flip : ('a -> 'b -> 'c) -> 'b -> 'a -> 'c
val negate : ('a -> bool) -> 'a -> bool
  • since 4.08.0: val negate : ('a -> bool) -> 'a -> bool
val protect : finally:(unit -> unit) -> (unit -> 'a) -> 'a
  • since 4.08.0: val protect : finally:(unit -> unit) -> (unit -> 'a) -> 'a
OCaml

Innovation. Community. Security.