diff options
Diffstat (limited to 'devel/ocaml-rresult/pkg-descr')
-rw-r--r-- | devel/ocaml-rresult/pkg-descr | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/devel/ocaml-rresult/pkg-descr b/devel/ocaml-rresult/pkg-descr new file mode 100644 index 000000000000..9bdc7493e311 --- /dev/null +++ b/devel/ocaml-rresult/pkg-descr @@ -0,0 +1,7 @@ +This library defines cominators to operate on the standard Result type +(introduced in OCaml 4.03). Using Result as return type of a +computation that can fail forces explicit handling of error, as oposed +to e.g. raising an exception. + +As the author puts it: "OCaml 4.08 provides the Stdlib.Result module +which you should prefer to Rresult." |