opam-version: "2.0"
maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
authors: ["Daniel Bünzli <daniel.buenzl i@erratique.ch>"]
homepage: "http://erratique.ch/software/rresult"
doc: "http://erratique.ch/software/rresult"
dev-repo: "git+http://erratique.ch/repos/rresult.git"
bug-reports: "https://github.com/dbuenzli/rresult/issues"
tags: [ "result" "error" "declarative" "org:erratique" ]
license: "BSD-3-Clause"
depends: [
  "ocaml" {>= "4.01.0" & < "4.06.0"}
  "ocamlfind"
  "ocamlbuild" {build}
]
build: [
  ["ocaml" "pkg/git.ml"]
  [
    "ocaml"
    "pkg/build.ml"
    "native=%{ocaml:native}%"
    "native-dynlink=%{ocaml:native-dynlink}%"
  ]
]
synopsis: "Result value combinators for OCaml"
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."""
url {
  src: "http://erratique.ch/software/rresult/releases/rresult-0.2.0.tbz"
  checksum: "md5=55d50d5c9054fcc194aac13350590dd6"
}
