Module type Signatures.FINDLIB

type command_spec
type error =
| Cannot_run_ocamlfind
| Dependency_not_found of string * string
| Package_not_found of string
| Cannot_parse_query of string * string
exception Findlib_error of error
val string_of_error : error -> string
val report_error : error -> 'a
type package = {
name : string;
description : string;
version : string;
archives_byte : string;
archives_native : string;
location : string;
dependencies : package list;
}
val query : string -> package
val list : unit -> string list
val topological_closure : package list -> package list
val include_flags : package list -> command_spec
val compile_flags_byte : package list -> command_spec
val compile_flags_native : package list -> command_spec