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

Conflicts

None

OCaml

Innovation. Community. Security.