Module Support.Fun

val id : 'a -> 'a

The identity function.

val rot2 : ('a -> 'b -> 'c) -> 'b -> 'a -> 'c

Moving the second argument to the first position.

val rot3 : ('a -> 'b -> 'c -> 'd) -> 'c -> 'a -> 'b -> 'd

Moving the third argument to the first position.