package rresult

  1. Overview
  2. Docs
Result value combinators for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

rresult-0.7.0.tbz
sha512=f1bb631c986996388e9686d49d5ae4d8aaf14034f6865c62a88fb58c48ce19ad2eb785327d69ca27c032f835984e0bd2efd969b415438628a31f3e84ec4551d3

CHANGES.md.html

v0.7.0 2021-10-04 Zagreb

  • Require OCaml >= 4.08. This drops the dependency on the result compatibility package.

  • Users are encouraged to move the the Stdlib.Result module available in OCaml 4.08.

v0.6.0 2018-10-07 Zagreb

  • Add R.failwith_error_msg.

v0.5.0 2016-09-03 Zagreb

  • R.[k]ignore_error use a thunk for the ~use argument. This is an incompatible change. Simply wrap occurences of ~use:e with ~use:(fun _ -> e).

v0.4.0 2016-05-23 La Forclaz (VS)

  • Build depend on topkg.

  • Relicense from BSD3 to ISC.

  • R.pp remove the pp_ prefix from the labels and do not print the constructors names, use to the newly introduced R.dump for this. This follows the conventions of Fmt.

v0.3.0 2015-11-30 Cambridge (UK)

  • Use the type provided by the Result compatibility library. Opening Rresult still gives you both unprefixed variant constructors and infix operators.

  • Remove the R.{int,nativeint,int32,int64,float,bool}_of_string functions. They do not belong here.

  • R.map, swap argument order. Thanks to Gabriel Radanne for suggesting.

  • Fix R.bind which had a more restrictive type than >>=. Thanks to Hezekiah M. Carty for the patch.

v0.2.0 2015-05-20 La Forclaz (VS)

  • The Rresult_infix module no longer exists. Open directly Rresult for using the library.

v0.1.0 2015-03-19 La Forclaz (VS)

First release.