Revision ae4a816f1f164e8a1e33830b53d5b6cb8f8ff587 authored by Pierre-Yves Strub on 16 February 2023, 14:10:41 UTC, committed by Pierre-Yves Strub on 16 February 2023, 15:21:56 UTC
1 parent a9f3453
Raw File
ecLoader.mli
(* -------------------------------------------------------------------- *)
type idx_t
type ecloader

(* -------------------------------------------------------------------- *)
type kind = [`Ec | `EcA]

exception BadExtension of string

val getkind : string -> kind

(* -------------------------------------------------------------------- *)
type namespace = [ `System | `Named of string ]

(* -------------------------------------------------------------------- *)
val create  : unit -> ecloader
val aslist  : ecloader -> ((namespace option * string) * idx_t) list
val dup     : ecloader -> ecloader
val forsys  : ecloader -> ecloader
val addidir : ?namespace:namespace -> ?recursive:bool -> string -> ecloader -> unit
val locate  : ?namespaces:(namespace option) list -> string -> ecloader -> (namespace option * string * kind) option
back to top