containers

A modular, clean and powerful extension of the OCaml standard library
IN THIS PACKAGE
Module CCOrd . Infix
val (<?>) : int -> ('a t * 'a * 'a) -> int

c1 <?> (ord, x, y) returns the same as c1 if c1 is not 0; otherwise it uses ord to compare the two values x and y, of type 'a.

val (>|=) : 'b t -> ( 'a -> 'b ) -> 'a t

Infix equivalent of map.