package containers

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

Module CCListLabels.InfixSource

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

Infix version of map with reversed arguments.

Sourceval (@) : 'a t -> 'a t -> 'a t

As append. Concatenate two lists.

Sourceval (<*>) : ('a -> 'b) t -> 'a t -> 'b t

funs <*> l is product (fun f x -> f x) funs l.

Sourceval (<$>) : ('a -> 'b) -> 'a t -> 'b t

As map.

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

l >>= f is flat_map f l.

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

Infix alias for range. Bounds included.

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

Infix alias for range'. Second bound excluded.

  • since 0.17

Let operators on OCaml >= 4.08.0, nothing otherwise

  • since 2.8
include CCShimsMkLet_.S with type 'a t_let := 'a list
Sourceval (let+) : 'a list -> ('a -> 'b) -> 'b list
Sourceval (and+) : 'a list -> 'b list -> ('a * 'b) list
Sourceval (let*) : 'a list -> ('a -> 'b list) -> 'b list
Sourceval (and*) : 'a list -> 'b list -> ('a * 'b) list
OCaml

Innovation. Community. Security.