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.3.1"
  3. awa < "0.0.4"
  4. base64 >= "2.1.2"
  5. bech32
  6. bechamel-js
  7. biocaml >= "0.5.0"
  8. biotk
  9. bistro >= "0.1.0"
  10. bos >= "0.2.1"
  11. builder < "0.1.2"
  12. bun
  13. ca-certs < "0.2.2"
  14. ca-certs-nss < "3.71"
  15. caldav < "0.1.1"
  16. camlp5 >= "8.00"
  17. carton
  18. carton-git
  19. carton-lwt
  20. charrua < "1.4.1"
  21. charrua-client < "0.9"
  22. charrua-client-lwt < "0.12.0"
  23. charrua-client-mirage < "0.12.0"
  24. charrua-core >= "0.4"
  25. checkseum >= "0.0.2"
  26. coin < "0.1.2"
  27. colombe < "0.2.0"
  28. conan
  29. conan-cli
  30. conan-database
  31. conan-lwt
  32. conan-unix
  33. conex < "0.10.0"
  34. conex-mirage-crypto
  35. conex-nocrypto
  36. crunch = "2.0.0"
  37. current-albatross-deployer
  38. current_github >= "0.4"
  39. current_gitlab
  40. datakit
  41. datakit-client < "0.11.0"
  42. datakit-server
  43. dbf < "0.2.0"
  44. decompress >= "1.4.1"
  45. digestif >= "0.8.1"
  46. dkim = "0.3.0"
  47. dkim-mirage = "0.3.0"
  48. dkml-c-probe < "3.0.0"
  49. dns >= "4.0.0" & < "6.0.1"
  50. dns-cli < "6.0.1"
  51. dns-client < "6.0.1"
  52. dns-forward
  53. docteur
  54. dune-release < "1.3.0" | >= "1.4.0"
  55. ethernet < "2.2.1"
  56. ezgzip
  57. fat-filesystem >= "0.12.0"
  58. febusy
  59. fiat-p256 >= "0.2.0"
  60. fit
  61. functoria
  62. git >= "2.0.0"
  63. git-cohttp
  64. git-cohttp-mirage
  65. git-cohttp-unix
  66. git-mirage >= "3.0.0"
  67. git-paf
  68. git-unix >= "3.0.0"
  69. graphql
  70. happy-eyeballs < "0.0.8"
  71. happy-eyeballs-lwt < "0.0.8"
  72. happy-eyeballs-mirage < "0.0.8"
  73. http-lwt-client < "0.0.5"
  74. hxd < "0.2.0"
  75. icalendar < "0.1.5"
  76. ipv6-multicast >= "0.9"
  77. jekyll-format < "0.2.0" | >= "0.3.1"
  78. ke >= "0.5"
  79. ledgerwallet
  80. letsencrypt < "0.4.1"
  81. letters >= "0.3.3"
  82. metrics-rusage < "0.4.0"
  83. mimic < "0.0.4"
  84. mirage >= "4.5.0"
  85. mirage-block-unix >= "2.5.0" & != "2.13.0"
  86. mirage-block-xen < "2.0.0"
  87. mirage-console-xen-proto < "5.0.0"
  88. mirage-crypto-pk < "0.10.4"
  89. mirage-fs-mem
  90. mirage-fs-unix >= "1.3.0"
  91. mirage-kv-mem < "3.1.0"
  92. mirage-kv-unix
  93. mirage-nat < "2.2.4"
  94. mrmime < "0.6.0"
  95. multipart_form
  96. multipart_form-eio
  97. multipart_form-lwt
  98. nbd >= "3.0.0"
  99. netchannel < "2.1.0"
  100. not-ocamlfind
  101. odig < "0.0.4"
  102. opam-compiler >= "0.2.0"
  103. osc < "0.1.4"
  104. otr >= "0.3.4" & < "0.3.10"
  105. passmaker
  106. passmakercmd
  107. pecu < "0.4"
  108. pf-qubes
  109. pgocaml >= "3.1" & != "4.0"
  110. pgocaml_ppx < "4.3.0"
  111. ppx_deriving_rpc != "8.1.0"
  112. protocol-9p >= "0.9.0"
  113. protocol-9p-tool
  114. protocol-9p-unix
  115. rfc6287
  116. rpc >= "1.9.51" & < "5.9.0"
  117. rpclib >= "8.1.1"
  118. sendmail >= "0.6.0"
  119. sgf
  120. shared-block-ring >= "2.4.0"
  121. spoke
  122. sslconf
  123. syslog-message >= "1.0.0" & < "1.2.0"
  124. syslog-rfc5424
  125. tcpip >= "3.0.0" & < "6.3.0"
  126. tls >= "0.13.0" & < "0.15.1"
  127. tls-miou-unix
  128. topkg-care = "0.7.9"
  129. transmission-rpc
  130. unix-errno < "0.3.0"
  131. unstrctrd
  132. uspf
  133. uspf-lwt
  134. uspf-mirage
  135. uspf-unix
  136. uuuu < "0.2.0"
  137. vecosek
  138. vhd-format >= "0.9.1"
  139. vhd-format-lwt >= "0.13.0"
  140. vimebac
  141. waylaunch
  142. webbrowser
  143. x509 >= "0.7.0" & < "0.15.1"
  144. yaml != "0.2.0" & < "1.0.0"
  145. yuscii < "0.3.0"

Conflicts

None

OCaml

Innovation. Community. Security.