Frama-C API - Fun
Extension of OCaml's Stdlib.Fun module.
include module type of Stdlib.Fun
val const : 'a -> 'b -> 'aval flip : ('a -> 'b -> 'c) -> 'b -> 'a -> 'cval negate : ('a -> bool) -> 'a -> boolval protect : finally:(unit -> unit) -> (unit -> 'a) -> 'aexception Finally_raised of exnval compose : ('b -> 'c) -> ('a -> 'b) -> 'a -> 'cSame as Stdlib.Fun.compose but made available here until the minimal supported version is OCaml 5.2.
val uncurry2 : ('a -> 'b -> 'c) -> ('a * 'b) -> 'cUncurry a function of arity-2