package rresult

  1. Overview
  2. Docs
Result value combinators for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

rresult-0.1.0.tbz
sha256=bddfcc8b1dc46b793263f216586e18f0dc8d1af304953347e5b576d6d80b29e0
md5=df97d537e07099bd90ee5a7c74652956

Description

Rresult is an OCaml module for handling computation results and errors in an explicit and declarative manner, without resorting to exceptions. It defines a result type and combinators to operate on these values.

Rresult has no dependency and is distributed under the BSD3 license.

README

Rresult — Result value combinators for OCaml

Release 0.1.0

Rresult is an OCaml module for handling computation results and errors in an explicit and declarative manner, without resorting to exceptions. It defines a result type and combinators to operate on these values.

Rresult has no dependency 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 (3)

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

Conflicts

None

OCaml

Innovation. Community. Security.