package elpi

  1. Overview
  2. Docs
ELPI - Embeddable λProlog Interpreter

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-3.0.1.tbz
sha256=af8074c67e94095b25556e1d1e2aaaf0d04c19f373e38919cb8f0a0d6786aae7
sha512=774612085cd3ff267bfd1aa35b7dd2629cde066f9d2393185e28f21d2c86a24c2e36ef1293dee1b2cba37636b6deb6dc6e688cebdb4e2aaff922e06de15dba0a

doc/elpi.runtime/Elpi_runtime/Ptmap/index.html

Module Elpi_runtime.PtmapSource

Sourcetype +'a t
Sourcetype key = int
Sourceval empty : 'a t
Sourceval is_empty : 'a t -> bool
Sourceval add : int -> 'a -> 'a t -> 'a t
Sourceval find : int -> 'a t -> 'a
Sourceval remove : int -> 'a t -> 'a t
Sourceval mem : int -> 'a t -> bool
Sourceval iter : (int -> 'a -> unit) -> 'a t -> unit
Sourceval map : ('a -> 'b) -> 'a t -> 'b t
Sourceval mapi : (int -> 'a -> 'b) -> 'a t -> 'b t
Sourceval fold : (int -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
Sourceval compare : ('a -> 'a -> int) -> 'a t -> 'a t -> int
Sourceval equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> bool
Sourceval find_unifiables : int -> 'a t -> 'a list
Sourceval diff : ('a -> 'b -> 'a option) -> 'a t -> 'b t -> 'a t
Sourceval to_list : 'a t -> (int * 'a) list
Sourceval pp : (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a t -> unit
Sourceval show : (Format.formatter -> 'a -> unit) -> 'a t -> string
OCaml

Innovation. Community. Security.