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

Conflicts

None

OCaml

Innovation. Community. Security.