package containers

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

Module CCArray.InfixSource

Sourceval (>>=) : 'a t -> ('a -> 'b t) -> 'b t

a >>= f is the infix version of flat_map.

Sourceval (>>|) : 'a t -> ('a -> 'b) -> 'b t

a >>| f is the infix version of map.

  • since 0.8
Sourceval (>|=) : 'a t -> ('a -> 'b) -> 'b t

a >|= f is the infix version of map.

  • since 0.8
Sourceval (--) : int -> int -> int t

x -- y creates an array containing integers in the range x .. y. Bounds included.

Sourceval (--^) : int -> int -> int t

x --^ y creates an array containing integers in the range x .. y. Right bound excluded.

  • since 0.17

Let operators on OCaml >= 4.08.0, nothing otherwise

  • since 2.8
Sourceval (let+) : 'a array -> ('a -> 'b) -> 'b array
Sourceval (and+) : 'a array -> 'b array -> ('a * 'b) array
Sourceval (let*) : 'a array -> ('a -> 'b array) -> 'b array
Sourceval (and*) : 'a array -> 'b array -> ('a * 'b) array
OCaml

Innovation. Community. Security.