Module Fn

module Fn: sig .. end

Various function combinators


val curry : ('a * 'b -> 'c) -> 'a -> 'b -> 'c
val uncurry : ('a -> 'b -> 'c) -> 'a * 'b -> 'c
val id : 'a -> 'a
val const : 'a -> 'b -> 'a
val compose : ('a -> 'b) -> ('c -> 'a) -> 'c -> 'b
val (%) : ('a -> 'b) -> ('c -> 'a) -> 'c -> 'b
val flip : ('a -> 'b -> 'c) -> 'b -> 'a -> 'c
val defer : ('a -> 'b) -> 'a -> 'c -> 'b