package rresult

  1. Overview
  2. Docs
Result value combinators for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

rresult-0.4.0.tbz
md5=bee49d7098f94dca00eb2fdba1986885

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 ISC license.

README

Rresult — Result value combinators for OCaml

v0.4.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 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 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 (5)

  1. result
  2. topkg build & >= "0.7.5"
  3. ocamlbuild build
  4. ocamlfind build
  5. ocaml >= "4.01.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.2.1"
  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"
  50. git-paf
  51. git-unix >= "3.0.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. topkg-care = "0.7.9" | = "1.0.3"
  102. transmission-rpc
  103. unix-errno < "0.3.0"
  104. unstrctrd
  105. uuuu < "0.2.0"
  106. vecosek
  107. vhd-format >= "0.9.1"
  108. vimebac
  109. webbrowser
  110. x509 >= "0.7.0" & < "0.15.1"
  111. yaml < "3.0.1"
  112. yuscii < "0.3.0"

Conflicts

None