BSD Ports

wip/ocaml-comparelib 109.60.00 NetBSD

Syntax extension for deriving "compare" functions automatically

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
License
apache-2.0
Categories
wip, devel

Description

Pa_compare is a camlp4 syntax extension that derives comparison functions from type representations. The scaffolded functions are usually much faster than ocaml's Pervasives.compare. Scaffolding functions also gives you more flexibilty by allowing you to override them for a specific type and more safety by making sure that you only compare comparable values.

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/ocaml-comparelib && make install clean

Dependencies

No port depends on this one.