package rresult

  1. Overview
  2. Docs
Result value combinators for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

rresult-0.7.0.tbz
sha512=f1bb631c986996388e9686d49d5ae4d8aaf14034f6865c62a88fb58c48ce19ad2eb785327d69ca27c032f835984e0bd2efd969b415438628a31f3e84ec4551d3

Description

Rresult is an OCaml module for handling computation results and errors in an explicit and declarative manner, without resorting to exceptions. It defines combinators to operate on the result type available from OCaml 4.03 in the standard library.

OCaml 4.08 provides the Stdlib.Result module which you should prefer to Rresult.

Rresult is distributed under the ISC license.

Home page: http://erratique.ch/software/rresult
Contact: Daniel Bünzli <daniel.buenzl i@erratique.ch>

Tags

result error org:erratique

Published: 06 Oct 2021

README

Rresult — Result value combinators for OCaml

v0.7.0

Rresult is an OCaml module for handling computation results and errors in an explicit and declarative manner, without resorting to exceptions. It defines combinators to operate on the result type available from OCaml 4.03 in the standard library.

OCaml 4.08 provides the Stdlib.Result module which you should prefer to Rresult.

Rresult is distributed under the ISC license.

Home page: http://erratique.ch/software/rresult
Contact: Daniel Bünzli <daniel.buenzl i@erratique.ch>

Installation

Rresult can be installed with opam:

opam install rresult

If you don't use opam consult the opam file for build instructions.

Documentation

The documentation and API reference is automatically generated by ocamldoc from the interfaces. It can be consulted online

Sample programs

If you installed Rresult with opam sample programs are located in the directory opam config var rresult:doc.

In the distribution sample programs and tests are located in the test directory of the distribution. They can be built and run with:

topkg build --tests true && topkg test

Dependencies (4)

  1. topkg build & >= "1.0.3"
  2. ocamlbuild build
  3. ocamlfind build
  4. ocaml >= "4.08.0"

Dev Dependencies

None

  1. ahrocksdb
  2. albatross < "1.4.3"
  3. base64 >= "2.1.2"
  4. bech32
  5. bechamel-js
  6. biocaml
  7. biotk
  8. bistro
  9. bos >= "0.2.1"
  10. bun
  11. ca-certs < "0.2.3"
  12. ca-certs-nss < "3.71"
  13. camlp5 >= "8.00.02"
  14. carton < "1.0.0"
  15. carton-git
  16. carton-lwt < "1.0.0"
  17. checkseum >= "0.0.2"
  18. coin < "0.1.2"
  19. colombe < "0.2.0"
  20. conan
  21. conan-cli
  22. conan-database
  23. conan-lwt
  24. conan-unix
  25. conex < "0.10.0"
  26. conex-mirage-crypto
  27. current-albatross-deployer
  28. current_github
  29. current_gitlab
  30. datakit-server
  31. dbf < "0.2.0"
  32. decompress >= "1.4.1"
  33. digestif >= "0.9.0"
  34. dkml-c-probe < "3.0.0"
  35. dns >= "4.4.1" & < "6.3.0"
  36. dns-client < "6.3.0"
  37. dns-forward
  38. docteur
  39. dune-release < "1.3.0" | >= "1.4.0"
  40. ezgzip
  41. fat-filesystem
  42. febusy
  43. fiat-p256
  44. fit
  45. functoria
  46. git
  47. git-cohttp
  48. git-cohttp-unix
  49. git-mirage
  50. git-paf
  51. git-unix >= "3.2.0"
  52. graphql
  53. happy-eyeballs < "0.1.3"
  54. happy-eyeballs-lwt < "0.1.3"
  55. hxd < "0.2.0"
  56. ipv6-multicast
  57. jekyll-format < "0.2.0" | >= "0.3.1"
  58. ke >= "0.5"
  59. ledgerwallet
  60. letters = "0.3.3"
  61. mimic < "0.0.4"
  62. mirage >= "4.7.0"
  63. mirage-block-unix
  64. mirage-kv-mem < "3.1.0"
  65. mirage-kv-unix
  66. mrmime < "0.6.0"
  67. multipart_form
  68. multipart_form-eio
  69. multipart_form-lwt
  70. nbd
  71. not-ocamlfind
  72. opam-compiler >= "0.2.0"
  73. passmaker
  74. passmakercmd
  75. pecu < "0.4"
  76. pf-qubes
  77. pgocaml = "3.1" | >= "4.2"
  78. pgocaml_ppx < "4.3.0"
  79. ppx_deriving_rpc
  80. protocol-9p
  81. protocol-9p-tool
  82. protocol-9p-unix
  83. rfc6287
  84. rpclib
  85. sendmail >= "0.6.0"
  86. sgf
  87. shared-block-ring
  88. spoke
  89. sslconf
  90. syslog-message >= "1.0.0" & < "1.2.0"
  91. syslog-rfc5424
  92. tls = "0.14.1"
  93. tls-miou-unix
  94. unstrctrd
  95. uspf
  96. uspf-lwt
  97. uspf-mirage
  98. uspf-unix
  99. uuuu < "0.2.0"
  100. vecosek
  101. vhd-format
  102. vhd-format-lwt >= "0.13.0"
  103. waylaunch
  104. webbrowser
  105. x509 >= "0.7.0" & < "0.16.5"
  106. yaml = "0.2.1"
  107. yuscii < "0.3.0"

Conflicts

None

OCaml

Innovation. Community. Security.