package monads

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

The triple interface lifted into a monad.

val fst : ('a * 'b * 'c, 'e) M.t -> ('a, 'e) M.t

fst (x,y,z) computes x

val snd : ('a * 'b * 'c, 'e) M.t -> ('b, 'e) M.t

snd (x,y,z computes y

val trd : ('a * 'b * 'c, 'e) M.t -> ('c, 'e) M.t

trd (x,y,z) computes z

OCaml

Innovation. Community. Security.