package elpi

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

Install

Dune Dependency

Authors

Maintainers

Sources

elpi-3.0.0.tbz
sha256=424e5a4631f5935a1436093b614917210b00259d16700912488ba4cd148115d1
sha512=fa54ce05101fafe905c6db2e5fa7ad79d714ec3b580add4ff711bad37fc9545a58795f69056d62f6c18d8c87d424acc1992ab7fb667652e980d182d4ed80ba16

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 : (Stdlib.Format.formatter -> 'a -> unit) -> Stdlib.Format.formatter -> 'a t -> unit
Sourceval show : (Stdlib.Format.formatter -> 'a -> unit) -> 'a t -> string
OCaml

Innovation. Community. Security.