https://github.com/EasyCrypt/easycrypt
Revision 149b09fc4d94b27b2f4bfb12f82d218def49299d authored by Pierre-Yves Strub on 28 March 2020, 08:13:02 UTC, committed by Pierre-Yves Strub on 28 March 2020, 08:13:21 UTC
1 parent b1b35e6
Raw File
Tip revision: 149b09fc4d94b27b2f4bfb12f82d218def49299d authored by Pierre-Yves Strub on 28 March 2020, 08:13:02 UTC
User error message for map-style lvalue on unsupported assignment
Tip revision: 149b09f
ecLoader.mli
(* --------------------------------------------------------------------
 * Copyright (c) - 2012--2016 - IMDEA Software Institute
 * Copyright (c) - 2012--2018 - Inria
 * Copyright (c) - 2012--2018 - Ecole Polytechnique
 *
 * Distributed under the terms of the CeCILL-C-V1 license
 * -------------------------------------------------------------------- *)

(* -------------------------------------------------------------------- *)
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