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 >= "4.5.0"
  88. mirage-block-unix >= "2.5.0" & != "2.13.0"
  89. mirage-block-xen >= "1.5.0" & < "2.0.0"
  90. mirage-console-xen-proto < "5.0.0"
  91. mirage-crypto-pk < "0.10.4"
  92. mirage-fs-mem
  93. mirage-fs-unix >= "1.3.0"
  94. mirage-kv-mem < "3.1.0"
  95. mirage-kv-unix
  96. mirage-nat < "2.2.4"
  97. mrmime < "0.6.0"
  98. multipart_form
  99. multipart_form-eio
  100. multipart_form-lwt
  101. nbd >= "3.0.0"
  102. netchannel >= "1.8.1" & < "2.1.0"
  103. not-ocamlfind
  104. odig < "0.0.4"
  105. opam-compiler >= "0.2.0"
  106. osc < "0.1.4"
  107. otr >= "0.3.4" & < "0.3.10"
  108. passmaker
  109. passmakercmd
  110. pecu < "0.4"
  111. pf-qubes
  112. pgocaml >= "3.1" & != "4.0"
  113. pgocaml_ppx < "4.3.0"
  114. ppx_deriving_rpc != "8.1.0"
  115. protocol-9p >= "0.9.0"
  116. protocol-9p-tool
  117. protocol-9p-unix
  118. rfc6287
  119. rpc >= "1.9.51" & < "5.9.0"
  120. rpclib >= "8.1.1"
  121. sendmail >= "0.6.0"
  122. sgf
  123. shared-block-ring >= "2.4.0"
  124. spoke
  125. sslconf
  126. syslog-message >= "1.0.0" & < "1.2.0"
  127. syslog-rfc5424
  128. tcpip >= "3.0.0" & < "6.3.0"
  129. tezos-lmdb
  130. tls >= "0.13.0" & < "0.15.1"
  131. topkg-care = "0.7.9"
  132. transmission-rpc
  133. unix-errno < "0.3.0"
  134. unstrctrd
  135. uspf
  136. uspf-lwt
  137. uspf-unix
  138. uuuu < "0.2.0"
  139. vecosek
  140. vhd-format >= "0.9.1"
  141. vimebac
  142. waylaunch
  143. webbrowser
  144. x509 >= "0.7.0" & < "0.15.1"
  145. yaml != "0.2.0" & < "1.0.0"
  146. yuscii < "0.3.0"

Conflicts

None