package elpi

Build not checked
  1. Overview
  2. Docs
ELPI - Embeddable λProlog Interpreter

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-4.0.0.tbz
sha256=931ef3eb0d6d93fd0661ef93718b0c4e44c1a550f74a864e83f6f57c408b2514
sha512=cfb660a557c7b14149db92cc44e9434a91d4b691e4c0333768d9b914d0952d7cefea5dc6f6a3ba1c38670acf95a5bf8e46bef027a1c6613449f224993f7aa303

doc/elpi.compiler/Elpi_compiler/Compiler_data/Errors/index.html

Module Compiler_data.ErrorsSource

Sourcetype t = {
  1. max_errors : int;
  2. mutable count : int;
  3. mutable errors : Elpi_util.Util.error list;
  4. mutable skipped : bool;
  5. mutable warnings : Elpi_util.Util.warning list;
}
Sourceval make : ?max_errors:??? -> unit -> t
Sourceval is_full : t -> bool
Sourceval add : t -> Elpi_util.Util.error -> unit
Sourceval list : t -> Elpi_util.Util.error list
Sourceval warn : t -> component:string -> id:Elpi_util.Util.warning_id -> ?loc:??? -> string -> unit
Sourceval warnings : t -> Elpi_util.Util.warning list
Sourceval protect : t -> default:'a -> (unit -> 'a) -> 'a
Sourceval catch_error : t -> ('a -> 'b) -> 'a -> 'b option
Sourceval report_error : t -> (?loc:??? -> string -> unit) -> ?loc:??? -> string -> unit
Sourceval protect_fold_left : errs:t -> ('a -> 'b -> 'a) -> 'a -> 'b list -> 'a
Sourceval protect_list_map : errs:t -> ('a -> 'b) -> 'a list -> 'b list
Sourceval protect_fMap_fold : errs:t -> (F.Map.key -> 'a -> 'b -> 'b) -> 'a F.Map.t -> 'b -> 'b
Sourceval protect_list_filter : errs:t -> ('a -> bool) -> 'a list -> 'a list