https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: 8ce5c7ad9c68d55e67c96c46a7fc35746c3e6710 authored by Pierre Boutry on 02 September 2022, 14:10:48 UTC
Merge branch 'deploy-oldlibs-cleanup' of github.com:EasyCrypt/easycrypt into deploy-oldlibs-cleanup
Tip revision: 8ce5c7a
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