package alcotest

Build not yet checked
  1. Overview
  2. Docs
Alcotest is a lightweight and colourful test framework

Install

dune-project
 Dependency

Authors

Maintainers

Sources

alcotest-1.10.1.tbz
sha256=62c095deda5cdd66c30684f7b1f25b5775d1d3d3ded927c7b893b4a6834ddb47
sha512=6f779fa96faf96b5b462ddc428aeaaa73a6be96771dbbad6a05b7bb00dae246648891c211e26174729c1f40128410ad96f2512101ae8b7d61f968ee61534b3d0

doc/alcotest.stdlib_ext/Alcotest_stdlib_ext/Option/Syntax/index.html

Module Option.SyntaxSource

Binding operators. See manual section 12.23 for details.

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

( let* ) is Option.bind.

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

( and* ) is Option.product.

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

( let+ ) is Option.map.

Sourceval (and+) : 'a option -> 'b option -> ('a * 'b) option

( and+ ) is Option.product.