package bap-std

  1. Overview
  2. Docs

The pair interface lifted into the monad.

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

fst (x,y) computes x

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

snd (x,y) computes y

OCaml

Innovation. Community. Security.