package oseq

  1. Overview
  2. Docs

Module OSeq.InfixSource

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

Integer range, inclusive

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

Integer range, exclusive in the right bound

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

Monadic bind operator

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

Infix map operator

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

Infix map operator

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

Alias for map

  • since 0.5
Sourceval (and+) : 'a t -> 'b t -> ('a * 'b) t

Alias for product

  • since 0.5
Sourceval (let*) : 'a t -> ('a -> 'b t) -> 'b t

Alias for flat_map

  • since 0.5
Sourceval (and*) : 'a t -> 'b t -> ('a * 'b) t

Alias for product

  • since 0.5