package elpi

All checked builds pass
  1. Overview
  2. Docs
ELPI - Embeddable λProlog Interpreter

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-4.1.1.tbz
sha256=07cdb4d333e627e57644ee45e43edfaa4a201d21efafd8922e8e5e0d4649fb68
sha512=f2ca177be3eb449c79b184f84bbde4f4a29ffa8ccda727db9411ad700120515cee3ee7374be2ec42815b6f76993c1843615a2e6becb64621483ddb7b4c4da33c

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