package stdcompat

  1. Overview
  2. Docs
Compatibility module for OCaml standard library

Install

Dune Dependency

Authors

Maintainers

Sources

20.1.tar.gz
sha512=c482cae49459704100812cb6caa8e8ffa60ffc2414a0ac4c3ec41bdd4203d8299c69be3ab2f7f8764b58b9173e43b89faf70036a19dc5674aa87108ff07c4c60

doc/stdcompat/Stdcompat/Fun/index.html

Module Stdcompat.FunSource

Sourceexception Finally_raised of exn
Sourceval compose : ('b -> 'c) -> ('a -> 'b) -> 'a -> 'c
  • since 5.2.0: val compose : ('b -> 'c) -> ('a -> 'b) -> 'a -> 'c
Sourceval id : 'a -> 'a
  • since 4.08.0: external id : 'a -> 'a = "%identity"
Sourceval const : 'a -> 'b -> 'a
  • since 4.08.0: val const : 'a -> 'b -> 'a
Sourceval flip : ('a -> 'b -> 'c) -> 'b -> 'a -> 'c
  • since 4.08.0: val flip : ('a -> 'b -> 'c) -> 'b -> 'a -> 'c
Sourceval negate : ('a -> bool) -> 'a -> bool
  • since 4.08.0: val negate : ('a -> bool) -> 'a -> bool
Sourceval protect : finally:(unit -> unit) -> (unit -> 'a) -> 'a
  • since 4.08.0: val protect : finally:(unit -> unit) -> (unit -> 'a) -> 'a
OCaml

Innovation. Community. Security.