BSD Ports

devel/ocaml-rresult 0.7.0_1 FreeBSD

Result combinator library for Objective Caml

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ISCL
Categories
devel
Package size
56.4 KiB, 208.5 KiB installed

Description

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."

In the other systems

SystemPortVersion
FreeBSDdevel/ocaml-rresult0.7.0_1
NetBSDdevel/ocaml-rresult0.7.0nb2
DragonFlydevel/ocaml-rresult0.7.0_1
GhostBSDdevel/ocaml-rresult0.7.0_1

Install

Binary package:

pkg install ocaml-rresult

From the ports tree:

cd /usr/ports/devel/ocaml-rresult/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	ocaml-rresult>0:devel/ocaml-rresult

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.7.0_10.7.0_1-0.7.0_10.7.0_1
FreeBSD:14:quarterly0.7.0_10.7.0_1n/a0.7.0_10.7.0_1
FreeBSD:15:latest0.7.0_10.7.0_1n/a0.7.0_10.7.0_1
FreeBSD:15:quarterly0.7.0_10.7.0_1n/an/an/a
FreeBSD:16:latest0.7.0_10.7.0_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

The full lists below include those, and their dependencies in turn.

Build dependencies 37
Run dependencies 1

Configuration

Options name: devel_rresult

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
ocaml tar:tbz
Service scripts
none

Files

pkg-plist 16
  • %%OCAML_SITELIBDIR%%/rresult/opam
  • %%OCAML_SITELIBDIR%%/rresult/META
  • %%OCAML_SITELIBDIR%%/rresult/rresult.a
  • %%OCAML_SITELIBDIR%%/rresult/rresult.cma
  • %%OCAML_SITELIBDIR%%/rresult/rresult.cmi
  • %%OCAML_SITELIBDIR%%/rresult/rresult.cmti
  • %%OCAML_SITELIBDIR%%/rresult/rresult.cmx
  • %%OCAML_SITELIBDIR%%/rresult/rresult.cmxa
  • %%OCAML_SITELIBDIR%%/rresult/rresult.cmxs
  • %%OCAML_SITELIBDIR%%/rresult/rresult.mli
  • %%OCAML_SITELIBDIR%%/rresult/rresult_top.a
  • %%OCAML_SITELIBDIR%%/rresult/rresult_top.cma
  • %%OCAML_SITELIBDIR%%/rresult/rresult_top.cmx
  • %%OCAML_SITELIBDIR%%/rresult/rresult_top.cmxa
  • %%OCAML_SITELIBDIR%%/rresult/rresult_top.cmxs
  • %%OCAML_SITELIBDIR%%/rresult/rresult_top_init.ml
distinfo 1
FileSizeSHA256
rresult-0.7.0.tbz850611aa7f5b83460e60431e3154e3e32c071d46e151ea5760cf24377805bf975540
Master sites 1
  • https://erratique.ch/software/rresult/releases/

Commit history 0

No commits in the history this site was built from.