File: fun.mli

package info (click to toggle)
ocaml-stdcompat 21.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,648 kB
  • sloc: ml: 34,677; sh: 830; makefile: 239
file content (7 lines) | stat: -rw-r--r-- 293 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
external id : 'a -> 'a = "%identity"
val const : 'a -> 'b -> 'a
val compose : ('b -> 'c) -> ('a -> 'b) -> 'a -> 'c
val flip : ('a -> 'b -> 'c) -> 'b -> 'a -> 'c
val negate : ('a -> bool) -> 'a -> bool
val protect : finally:(unit -> unit) -> (unit -> 'a) -> 'a
exception Finally_raised of exn