val (|>) : 'a -> ('a -> 'b) -> 'bA "pipe" operator.
val const : 'a -> _ -> 'aProduces a function that just returns its first argument.
val ignore : _ -> unitignore is the same as Caml.ignore. It is useful to have here so that code that rebinds ignore can still refer to Fn.ignore.
val non : ('a -> bool) -> 'a -> boolNegates a function.
val forever : (unit -> unit) -> exnforever f runs f () until it throws an exception and returns the exception. This function is useful for read_line loops, etc.
val apply_n_times : n:int -> ('a -> 'a) -> 'a -> 'aapply_n_times ~n f x is the n-fold application of f to x.
val id : 'a -> 'aThe identity function. Also see Sys.opaque_identity.
val compose : ('b -> 'c) -> ('a -> 'b) -> 'a -> 'ccompose f g x is f (g x).
val flip : ('a -> 'b -> 'c) -> 'b -> 'a -> 'cReverses the order of arguments for a binary function.