Revision 7b7008967c810dab1b0766c4e299bd857a370d02 authored by François Dupressoir on 14 December 2021, 15:43:15 UTC, committed by Pierre-Yves Strub on 22 April 2022, 10:53:46 UTC
Anonymous and named parameters can be mixed for abstract procedures.

Corner cases are not exercised by test suites and may crop up.

Resolves #108.
1 parent 74a4d02
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