package oasis

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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.