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

Conflicts

None