package core_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Extends Base.Fn.

include module type of struct include Base.Fn end
val (|>) : 'a -> ('a -> 'b) -> 'b
val const : 'a -> 'b -> 'a
val ignore : 'a -> unit
val non : ('a -> bool) -> 'a -> bool
val forever : (unit -> unit) -> exn
val apply_n_times : n:int -> ('a -> 'a) -> 'a -> 'a
val id : 'a -> 'a
val compose : ('b -> 'c) -> ('a -> 'b) -> 'a -> 'c
val flip : ('a -> 'b -> 'c) -> 'b -> 'a -> 'c
val (|!) : 'a -> ('a -> 'b) -> 'b
  • deprecated [since 2016-07] Use [ |> ]
OCaml

Innovation. Community. Security.