package elpi

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

Install

Dune Dependency

Authors

Maintainers

Sources

elpi-2.0.7.tbz
sha256=80233ebd92babd696148ed553238961ec7b6de6bf157045aae1c7090840aeded
sha512=00c9ec01fabde9db1de4a58cb37480035e6f926d83b8360553419bcb99e9199f0720dde975f97ac9942ce528884d3d59d025cfbd471f12d57547429f15684d49

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.