package octez-libs

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

Module Qcheck_extra.IdentitySource

The identity type constructor.

include Monad.S
include Applicative.S
include Functor.S
Sourcetype 'a t
Sourceval map : ('a -> 'b) -> 'a t -> 'b t

Map over the given value.

Sourceval return : 'a -> 'a t

Inject the given value.

Sourceval map2 : ('a -> 'b -> 'c) -> 'a t -> 'b t -> 'c t

Map a binary function over the given value.

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

Combine the given values. See also map2.

Sourceval join : 'a t t -> 'a t

Monadic join operator.

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

Monadic bind operator.

Sourceval run : 'a t -> 'a
OCaml

Innovation. Community. Security.