BSD Ports

devel/ocaml-ppx_hash 0.16.0_1 FreeBSD

Deriving PPX plugin to generate hash functions

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel
Package size
222.5 KiB, 863.7 KiB installed

Description

This PPX rewriter plugin derives hash functions from OCaml type definitions and (anonymous) type annotations. The generated functions are usualy faster than their polymorphic equivalent from the OCaml standard library. It is also possible to ignore one or more member of a tuple or structure.

In the other systems

SystemPortVersion
FreeBSDdevel/ocaml-ppx_hash0.16.0_1
NetBSDdevel/ocaml-ppx_hash0.15.0nb2
DragonFlydevel/ocaml-ppx_hash0.16.0_1
GhostBSDdevel/ocaml-ppx_hash0.16.0_1

Install

Binary package:

pkg install ocaml-ppx_hash

From the ports tree:

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

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

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

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.16.0_10.16.0_1--0.16.0_1
FreeBSD:14:quarterly0.16.0_10.16.0_1n/a-0.16.0_1
FreeBSD:15:latest0.16.0_10.16.0_1n/a-0.16.0_1
FreeBSD:15:quarterly0.16.0_10.16.0_1n/an/an/a
FreeBSD:16:latest0.16.0_10.16.0_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 4

Runtime 5

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

Build dependencies 30
Run dependencies 29

Configuration

Options name: devel_ppx_hash

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

Files

pkg-plist 31
  • %%OCAML_SITELIBDIR%%/ppx_hash/META
  • %%OCAML_SITELIBDIR%%/ppx_hash/dune-package
  • %%OCAML_SITELIBDIR%%/ppx_hash/expander/ppx_hash_expander.a
  • %%OCAML_SITELIBDIR%%/ppx_hash/expander/ppx_hash_expander.cma
  • %%OCAML_SITELIBDIR%%/ppx_hash/expander/ppx_hash_expander.cmi
  • %%OCAML_SITELIBDIR%%/ppx_hash/expander/ppx_hash_expander.cmt
  • %%OCAML_SITELIBDIR%%/ppx_hash/expander/ppx_hash_expander.cmti
  • %%OCAML_SITELIBDIR%%/ppx_hash/expander/ppx_hash_expander.cmx
  • %%OCAML_SITELIBDIR%%/ppx_hash/expander/ppx_hash_expander.cmxa
  • %%OCAML_SITELIBDIR%%/ppx_hash/expander/ppx_hash_expander.cmxs
  • %%OCAML_SITELIBDIR%%/ppx_hash/expander/ppx_hash_expander.ml
  • %%OCAML_SITELIBDIR%%/ppx_hash/expander/ppx_hash_expander.mli
  • %%OCAML_SITELIBDIR%%/ppx_hash/opam
  • %%OCAML_SITELIBDIR%%/ppx_hash/ppx_hash.a
  • %%OCAML_SITELIBDIR%%/ppx_hash/ppx_hash.cma
  • %%OCAML_SITELIBDIR%%/ppx_hash/ppx_hash.cmi
  • %%OCAML_SITELIBDIR%%/ppx_hash/ppx_hash.cmt
  • %%OCAML_SITELIBDIR%%/ppx_hash/ppx_hash.cmti
  • %%OCAML_SITELIBDIR%%/ppx_hash/ppx_hash.cmx
  • %%OCAML_SITELIBDIR%%/ppx_hash/ppx_hash.cmxa
  • %%OCAML_SITELIBDIR%%/ppx_hash/ppx_hash.cmxs
  • %%OCAML_SITELIBDIR%%/ppx_hash/ppx_hash.ml
  • %%OCAML_SITELIBDIR%%/ppx_hash/ppx_hash.mli
  • %%OCAML_SITELIBDIR%%/ppx_hash/runtime-lib/ppx_hash_lib.a
  • %%OCAML_SITELIBDIR%%/ppx_hash/runtime-lib/ppx_hash_lib.cma
  • %%OCAML_SITELIBDIR%%/ppx_hash/runtime-lib/ppx_hash_lib.cmi
  • %%OCAML_SITELIBDIR%%/ppx_hash/runtime-lib/ppx_hash_lib.cmt
  • %%OCAML_SITELIBDIR%%/ppx_hash/runtime-lib/ppx_hash_lib.cmx
  • %%OCAML_SITELIBDIR%%/ppx_hash/runtime-lib/ppx_hash_lib.cmxa
  • %%OCAML_SITELIBDIR%%/ppx_hash/runtime-lib/ppx_hash_lib.cmxs
  • %%OCAML_SITELIBDIR%%/ppx_hash/runtime-lib/ppx_hash_lib.ml
distinfo 1
FileSizeSHA256
janestreet-ppx_hash-v0.16.0_GH0.tar.gz28660eefad2003ae76216bf086d5c313012aac1df0be708aaf0b4e24c81f6c51a03cf

Commit history 0

No commits in the history this site was built from.