package lambdapi

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

Module Option.MonadSource

Sourceval (let*) : 'a option -> ('a -> 'b option) -> 'b option

Monadic let* allows to replace

  match e1 with
  | Some e2 -> Some (f e2)
  | None -> None

with

  let* x = e1 in
  f x
Sourceval return : 'a -> 'a option
OCaml

Innovation. Community. Security.