# Module OpamCompiler

    module OpamCompiler: sig .. end

Compiler names and versions

    module Version: sig .. end

OCaml compiler versions

    include OpamMisc.ABSTRACT

Compiler names

    val of_filename : OpamFilename.t -> t option

Convert a filename into a compiler name. This function extract `name` from /path/to/$name.comp.

    val list : OpamFilename.Dir.t -> Set.t

List the compiler available in the global state.

    val prefixes : OpamFilename.Dir.t -> string option Map.t

List the compiler available in a directory (and their prefix)

    val system : t

System compiler

    val unknown : t -> 'a

Errors

    val version : t -> Version.t

Return the compiler version