https://github.com/EasyCrypt/easycrypt
Tip revision: 546373e46b64bdcf42c6349a261e4a25ce0caa3f authored by Lionel Blatter on 14 March 2024, 09:18:14 UTC
Patch proof from theories and examples
Patch proof from theories and examples
Tip revision: 546373e
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