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

 Option.bind e (fun x => ...) 

or

  match e with
  | None -> None
  | Some x -> ...

with

  let* x = e in
  ...
Sourceval return : 'a -> 'a option
OCaml

Innovation. Community. Security.