package rresult

  1. Overview
  2. Docs
Result value combinators for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

rresult-0.3.0.tbz
sha256=db4847751877908fe094b8b8fd78576c654759daabd893a426b53ef152b8658c
md5=8f47a03cd17b5e9fefd5f07a731a66e8

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.

Rresult depends on the compatibility result package and is distributed under the BSD3 license.

README

Rresult — Result value combinators for OCaml

Release 0.3.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.

Rresult depends on the compatibility result package and is distributed under the BSD3 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 and there is a generated version in the doc directory of the distribution.

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 are located in the test directory of the distribution. They can be built with:

ocamlbuild -use-ocamlfind test/tests.otarget

The resulting binaries are in _build/test.

  • test.native tests the library, nothing should fail.

Dependencies (4)

  1. ocamlbuild build
  2. result
  3. ocamlfind build
  4. ocaml >= "4.01.0" & < "4.06.0"

Dev Dependencies

None

  1. ahrocksdb
  2. albatross < "1.3.1"
  3. awa < "0.0.4"
  4. base64 >= "2.1.2"
  5. bechamel-js
  6. biocaml >= "0.5.0"
  7. bistro >= "0.1.0"
  8. bos < "0.1.5"
  9. builder < "0.1.2"
  10. bun
  11. ca-certs < "0.2.2"
  12. ca-certs-nss < "3.71"
  13. camlp5 >= "8.00"
  14. carton < "0.7.1"
  15. charrua < "1.4.1"
  16. charrua-client < "0.9"
  17. charrua-client-lwt < "0.12.0"
  18. charrua-client-mirage < "0.12.0"
  19. charrua-core >= "0.4"
  20. checkseum >= "0.0.2"
  21. coin < "0.1.2"
  22. colombe < "0.2.0"
  23. conan < "0.0.3"
  24. conan-cli < "0.0.3"
  25. conan-database < "0.0.3"
  26. conan-lwt < "0.0.3"
  27. conan-unix < "0.0.3"
  28. conduit = "3.0.0"
  29. conduit-async = "3.0.0"
  30. conduit-lwt = "3.0.0"
  31. conex < "0.10.0"
  32. conex-mirage-crypto
  33. conex-nocrypto
  34. crunch = "2.0.0"
  35. datakit
  36. datakit-client < "0.11.0"
  37. datakit-server
  38. decompress >= "1.4.1"
  39. digestif >= "0.8.1"
  40. dns >= "4.0.0" & < "6.0.1"
  41. dns-forward
  42. dockerfile-cmd < "8.0.0"
  43. dune-release < "2.0.0"
  44. ezgzip
  45. fat-filesystem >= "0.12.0"
  46. febusy
  47. fiat-p256 >= "0.2.0"
  48. functoria < "4.0.0~beta1"
  49. git >= "2.0.0" & < "3.16.0"
  50. git-paf < "3.16.0"
  51. git-unix >= "3.0.0" & < "3.16.0"
  52. graphql
  53. happy-eyeballs < "0.0.8"
  54. happy-eyeballs-lwt < "0.0.8"
  55. happy-eyeballs-mirage < "0.0.8"
  56. http-lwt-client < "0.0.5"
  57. hxd < "0.3.0"
  58. icalendar < "0.1.5"
  59. jekyll-format
  60. ke >= "0.5"
  61. letsencrypt < "0.4.1"
  62. metrics-rusage < "0.4.0"
  63. mirage-block-unix >= "2.5.0" & != "2.13.0"
  64. mirage-block-xen >= "1.5.0" & < "2.0.0"
  65. mirage-console-xen-proto < "5.0.0"
  66. mirage-fs-mem
  67. mirage-fs-unix >= "1.3.0"
  68. mirage-kv-mem < "3.1.0"
  69. mirage-kv-unix
  70. mirage-nat < "2.2.4"
  71. mrmime < "0.6.0"
  72. multipart_form < "0.4.0" | >= "0.5.0"
  73. multipart_form-eio
  74. multipart_form-lwt
  75. nbd >= "3.0.0"
  76. netchannel >= "1.8.1" & < "2.1.0"
  77. opam-ci
  78. osc < "0.2.0"
  79. otr >= "0.3.4" & < "0.3.10"
  80. passmaker
  81. passmakercmd
  82. pecu < "0.4"
  83. pgocaml >= "3.1" & != "4.0"
  84. pgocaml_ppx < "4.3.0"
  85. ppx_deriving_rpc
  86. ppx_deriving_yaml < "0.1.1"
  87. protocol-9p >= "0.9.0"
  88. protocol-9p-tool
  89. protocol-9p-unix
  90. rfc6287
  91. rpc >= "1.9.51" & < "5.9.0"
  92. rpclib
  93. sendmail >= "0.6.0"
  94. sgf
  95. shared-block-ring >= "2.4.0"
  96. spoke
  97. sslconf
  98. syslog-message >= "1.0.0" & < "1.2.0"
  99. tcpip >= "3.0.0" & < "3.4.0"
  100. tls >= "0.13.0" & < "0.15.1"
  101. tls-miou-unix
  102. topkg-care = "1.0.3"
  103. transmission-rpc
  104. unix-errno < "0.3.0"
  105. unstrctrd
  106. uuuu < "0.2.0"
  107. vecosek
  108. vhd-format >= "0.9.1"
  109. vimebac
  110. webbrowser
  111. x509 >= "0.7.0" & < "0.15.1"
  112. yaml < "3.0.1"
  113. yuscii < "0.3.0"

Conflicts

None

OCaml

Innovation. Community. Security.