package oasis

  1. Overview
  2. Docs
Tooling for building OCaml libraries and applications

Install

Dune Dependency

Authors

Maintainers

Sources

oasis-0.4.11.tar.gz
sha256=18b73deef4ed6e9a83337f24b3bbe2ded65268b3ff7309fcc00d25e57e1dc12e
md5=98492f4657c2c5b30e3b1bc945e58419

doc/oasis.base/BaseCheck/index.html

Module BaseCheck

Check host system features

  • author Sylvain Le Gall
val prog_best : OASISTypes.prog -> OASISTypes.prog list -> unit -> OASISTypes.host_filename

Look for a program among a list of alternative program * the first found is returned.

Check the presence of a particular program.

val prog_opt : OASISTypes.prog -> unit -> OASISTypes.host_filename

Check the presence of a program or its native version.

val ocamlfind : unit -> OASISTypes.host_filename

The ocamlfind command line tool, used to query version of package. Use BaseStandardVar.ocamlfind variable if you want a safe way to access this variable.

version var_pref cmp ver () Check version ver (), using cmp and OASISVersion.comparator_apply. Generate a variable prefixed by var_pref and using OASISVersion.varname_of_comparator.

Get findlib package version .

val package : ?version_comparator:OASISVersion.comparator -> OASISTypes.findlib_full -> unit -> OASISTypes.host_dirname

Check for findlib package and version. Return install directory.

OCaml

Innovation. Community. Security.