Module Function


module Function: sig .. end
A 'pipe' operator.

val (|!) : 'a -> ('a -> 'b) -> 'b
val const : 'a -> 'b -> 'a
produces a function that just returns its first argument
val non : ('a -> bool) -> 'a -> bool
Negates a function
val forever : (unit -> unit) -> exn
forever f runs f () until it throws an exception and returns the exception. This function is useful for read_line loops, etc.
val ident : 'a -> 'a
The identity function