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

Conflicts

None