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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/ocaml-rresult | 0.7.0_1 |
| NetBSD | devel/ocaml-rresult | 0.7.0nb2 |
| DragonFly | devel/ocaml-rresult | 0.7.0_1 |
| GhostBSD | devel/ocaml-rresult | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.7.0_1 | 0.7.0_1 | - | 0.7.0_1 | 0.7.0_1 |
| FreeBSD:14:quarterly | 0.7.0_1 | 0.7.0_1 | n/a | 0.7.0_1 | 0.7.0_1 |
| FreeBSD:15:latest | 0.7.0_1 | 0.7.0_1 | n/a | 0.7.0_1 | 0.7.0_1 |
| FreeBSD:15:quarterly | 0.7.0_1 | 0.7.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.7.0_1 | 0.7.0_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${LOCALBASE}/${OCAML_SITELIBDIR}/topkg/META: devel/ocaml-topkgocamlbuild: devel/ocaml-ocamlbuildopam-installer: devel/ocaml-opam
The full lists below include those, and their dependencies in turn.
Build dependencies 37
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- converters/libiconv
- devel/gettext-runtime
- devel/git
- devel/gmake
- devel/libunistring
- devel/ocaml-findlib
- devel/ocaml-ocamlbuild
- devel/ocaml-opam
- devel/ocaml-topkg
- devel/xxhash
- dns/libidn2
- dns/libpsl
- ftp/curl
- graphics/png
- lang/ocaml
- lang/tcl86
- net/rsync
- print/freetype2
- print/indexinfo
- security/libssh2
- textproc/expat2
- www/libnghttp2
- x11-fonts/fontconfig
- x11-fonts/libXft
- x11-toolkits/ocaml-labltk
- x11-toolkits/tk86
- x11/libX11
- x11/libXScrnSaver
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrender
- x11/libxcb
- x11/xorgproto
Run dependencies 1
Configuration
Options name: devel_rresult
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build 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
| File | Size | SHA256 |
|---|---|---|
| rresult-0.7.0.tbz | 8506 | 11aa7f5b83460e60431e3154e3e32c071d46e151ea5760cf24377805bf975540 |
Master sites 1
- https://erratique.ch/software/rresult/releases/
Commit history 0
No commits in the history this site was built from.