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: "ISC"
depends: [
  "ocaml" {>= "4.01.0"}
  "ocamlfind" {build}
  "ocamlbuild" {build}
  "topkg" {build & >= "0.7.5"}
  "result"
]
build: ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%"]
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 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."""
url {
  src: "http://erratique.ch/software/rresult/releases/rresult-0.4.0.tbz"
  checksum: "md5=bee49d7098f94dca00eb2fdba1986885"
}
