package elpi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-3.4.3.tbz
sha256=d9bcd4cd43bf3ecd6ec471c8cd0c74a542e67bdba96310418207a7c5a42b77e2
sha512=7ecc6d298332d01a84daa3d91ac28cd6c4cbf9f5f6cf025313580577f87b6781cbbf7fed3fdee470562b1b2a5b58865dd00878efd21be294e462810b578d8ace

doc/elpi.util/Elpi_util/Util/Set/Make/argument-1-Ord/index.html

Parameter Make.Ord

include Set.OrderedType
type t

The type of the set elements.

val compare : t -> t -> int

A total ordering function over the set elements. This is a two-argument function f such that f e1 e2 is zero if the elements e1 and e2 are equal, f e1 e2 is strictly negative if e1 is smaller than e2, and f e1 e2 is strictly positive if e1 is greater than e2. Example: a suitable ordering function is the generic structural comparison function Stdlib.compare.

include Show with type t := t
val pp : Format.formatter -> t -> unit
val show : t -> string