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

Added to opam-repository:

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" & < "1.6.0"
  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. dream-mirage
  41. dune-release < "1.3.0" | >= "1.4.0"
  42. ezgzip
  43. fat-filesystem
  44. febusy
  45. fiat-p256
  46. fit < "1.4.0"
  47. functoria
  48. git
  49. git-cohttp
  50. git-cohttp-unix
  51. git-mirage
  52. git-paf
  53. git-unix >= "3.2.0"
  54. graphql
  55. happy-eyeballs < "0.1.3"
  56. happy-eyeballs-lwt < "0.1.3"
  57. hxd < "0.2.0"
  58. ipv6-multicast
  59. jekyll-format < "0.2.0" | >= "0.3.1"
  60. ke >= "0.5"
  61. ledgerwallet
  62. letters = "0.3.3"
  63. miaou-core
  64. mimic < "0.0.4"
  65. mirage >= "4.7.0"
  66. mirage-block-unix
  67. mirage-kv-mem < "3.1.0"
  68. mirage-kv-unix
  69. mrmime < "0.6.0"
  70. multipart_form
  71. multipart_form-eio
  72. multipart_form-lwt
  73. multipart_form-miou
  74. nbd
  75. not-ocamlfind
  76. opam-compiler >= "0.2.0"
  77. passmaker
  78. passmakercmd
  79. pecu < "0.4"
  80. pf-qubes
  81. pgocaml = "3.1" | >= "4.2"
  82. pgocaml_ppx < "4.3.0"
  83. ppx_deriving_rpc
  84. protocol-9p
  85. protocol-9p-tool
  86. protocol-9p-unix
  87. rfc6287
  88. rpclib
  89. sendmail >= "0.6.0"
  90. sgf
  91. shared-block-ring
  92. smtml = "0.26.0"
  93. spoke
  94. sslconf
  95. syslog-message >= "1.0.0" & < "1.2.0"
  96. syslog-rfc5424
  97. tls = "0.14.1"
  98. tls-miou-unix
  99. unstrctrd
  100. uspf
  101. uspf-lwt
  102. uspf-mirage
  103. uspf-unix
  104. uuuu < "0.2.0"
  105. vecosek
  106. vhd-format
  107. vhd-format-lwt >= "0.13.0"
  108. waylaunch
  109. webbrowser
  110. x509 >= "0.7.0" & < "0.16.5"
  111. yaml = "0.2.1"
  112. yuscii < "0.3.0"

Conflicts

None