package rresult

  1. Overview
  2. Docs
Result value combinators for OCaml

Install

dune-project
 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.4.3"
  3. base64 >= "2.1.2"
  4. bech32
  5. bechamel-js
  6. biocaml
  7. biotk
  8. bistro
  9. bos >= "0.2.1"
  10. bun
  11. ca-certs < "0.2.3"
  12. ca-certs-nss < "3.71"
  13. camlp5 >= "8.00.02"
  14. carton < "1.0.0"
  15. carton-git
  16. carton-lwt < "1.0.0"
  17. checkseum >= "0.0.2"
  18. coin < "0.1.2"
  19. colombe < "0.2.0"
  20. conan
  21. conan-cli
  22. conan-database
  23. conan-lwt
  24. conan-unix
  25. conex < "0.10.0"
  26. conex-mirage-crypto < "1.0.0"
  27. current-albatross-deployer
  28. current_github
  29. current_gitlab
  30. datakit-server
  31. dbf < "0.2.0"
  32. decompress >= "1.4.1"
  33. digestif >= "0.9.0"
  34. dkml-c-probe < "3.0.0"
  35. dns >= "4.4.1" & < "6.3.0"
  36. dns-client < "6.3.0"
  37. dns-forward
  38. docteur
  39. dune-release < "1.3.0" | >= "1.4.0"
  40. ezgzip
  41. fat-filesystem
  42. febusy
  43. fiat-p256
  44. fit < "1.4.0"
  45. functoria
  46. git
  47. git-cohttp
  48. git-cohttp-unix
  49. git-mirage
  50. git-paf
  51. git-unix >= "3.2.0"
  52. graphql
  53. happy-eyeballs < "0.1.3"
  54. happy-eyeballs-lwt < "0.1.3"
  55. hxd < "0.2.0"
  56. ipv6-multicast
  57. jekyll-format < "0.2.0" | >= "0.3.1"
  58. ke >= "0.5"
  59. ledgerwallet
  60. letters = "0.3.3"
  61. miaou-core
  62. mimic < "0.0.4"
  63. mirage >= "4.7.0"
  64. mirage-block-unix
  65. mirage-kv-mem < "3.1.0"
  66. mirage-kv-unix
  67. mrmime < "0.6.0"
  68. multipart_form
  69. multipart_form-eio
  70. multipart_form-lwt
  71. multipart_form-miou
  72. nbd
  73. not-ocamlfind
  74. opam-compiler >= "0.2.0"
  75. passmaker
  76. passmakercmd
  77. pecu < "0.4"
  78. pf-qubes
  79. pgocaml = "3.1" | >= "4.2"
  80. pgocaml_ppx < "4.3.0"
  81. ppx_deriving_rpc
  82. protocol-9p
  83. protocol-9p-tool
  84. protocol-9p-unix
  85. rfc6287
  86. rpclib
  87. sendmail >= "0.6.0"
  88. sgf
  89. shared-block-ring
  90. smtml = "0.26.0"
  91. spoke
  92. sslconf
  93. syslog-message >= "1.0.0" & < "1.2.0"
  94. syslog-rfc5424
  95. tls = "0.14.1"
  96. tls-miou-unix
  97. unstrctrd
  98. uspf
  99. uspf-lwt
  100. uspf-mirage
  101. uspf-unix
  102. uuuu < "0.2.0"
  103. vecosek
  104. vhd-format
  105. vhd-format-lwt >= "0.13.0"
  106. waylaunch
  107. webbrowser
  108. x509 >= "0.7.0" & < "0.16.5"
  109. yaml = "0.2.1"
  110. yuscii < "0.3.0"

Conflicts

None