Coq.WorkspaceSourcetype t = private {coqlib : string;Path to coqlib
*)findlib_config : string option;Path to findlib config file, if None, default
ocamlpath : string list;extra ocamlpath paths, for example for local plugins
*)vo_load_path : Loadpath.vo_path list;List of -R / -Q flags passed to Coq, usually theories we depend on
*)require_libs : Require.t list;Modules to preload, usually Coq.Init.Prelude
*)flags : Flags.t;Coq-specific flags
*)warnings : Warning.t list;kind : string;How the workspace was built
*)debug : bool;Enable backtraces
*)}describe w return user, extra, where user is the relevant user message, and extra contains lower-level debug data such as all findlib packages in scope, etc... data
val guess :
token:Limits.Token.t ->
debug:bool ->
cmdline:CmdLine.t ->
dir:string ->
(t, string) Result.tapply libname w will prepare Coq for a new file libname on workspace w