Result.Syntax(3)
Result.Syntax(3) π¦
Okay bestie, this is the Result.Syntax page from the OCaml library, and itβs literally all about binding operators. Letβs get into it π
β¨
π NAME π
Result.Syntax β Binding operators.
πΈ Module πΈ
Module Result.Syntax
β¨ Documentation β¨
Module Syntax
: sig end
Binding operators. See manual section 12.23 for details.
Since 5.4 π
Here are the vals, bestie β signatures stay exactly as written, no cap:
val ( let* ) : ('a, 'e) result -> ('a -> ('b, 'e) result) -> ('b, 'e) resultβ( let* )isResult.bind.val ( and* ) : ('a, 'e) result -> ('b, 'e) result -> ('a * 'b, 'e) resultβ( and* )isResult.product.val let+ : ('a, 'e) result -> ('a -> 'b) -> ('b, 'e) resultβ( let+ )isResult.map.val and+ : ('a, 'e) result -> ('b, 'e) result -> ('a * 'b, 'e) resultβ( and+ )isResult.product.
Thatβs the whole page, gorgeous π«Άπ β brought to you by OCamldoc, dated 2026-06-22. Slay and bye π
π
π¦ where this page comes from
- arch rolling: ocaml 5.5.0-1 Β· LGPL2.1 AND custom: QPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms