package bap-knowledge

  1. Overview
  2. Docs

Module Knowledge.Let

Monadic operators, see Monad.Syntax.S for more.

val (let*) : 'a t -> ('a -> 'b t) -> 'b t

let* r = f x in b is f x >>= fun r -> b

val (and*) : 'a t -> 'b t -> ('a * 'b) t

monoidal product

val (let+) : 'a t -> ('a -> 'b) -> 'b t

let+ r = f x in b is f x >>| fun r -> b

val (and+) : 'a t -> 'b t -> ('a * 'b) t

monoidal product

OCaml

Innovation. Community. Security.