package term-indexing
Term indexing library
Install
Dune Dependency
Authors
Maintainers
Sources
0.0.1.tar.gz
md5=9ba5dcf909fde539e173daf8f13abffd
sha512=e84fb1104c420db346181416a1e95e60aeb1b757ed7456a6028a6dfd5096bb7888af7c1ad6ea1acb25e99318e86d1f75c82a072bbdc3ba8218e5b16778199dfe
doc/term-indexing/Term_indexing/Term/index.html
Module Term_indexing.Term
Source
The type of hash-consed terms
Source
and 'prim desc = private
| Prim of 'prim * 'prim term array * Int_option.t
(*
*)Prim (prim, ts, ub)
represents a term with head symbol equal toprim
and subtermsts
.ub
is equal toInt_option.none
if the term is ground. Otherwise,ub
is an upper bound on the value of variables contained ints
.| Var of int
(*
*)Var v
is a variable equal tov
.
Source
module Make_hash_consed
(P : Intf.Signature)
(M : Intf.Map with type key = int) :
Intf.Term
with type prim = P.t
and type t = P.t term
and type 'a var_map = 'a M.t
The following functor instantiates a module to manipulate hash-consed terms over the signature P
, using an implementation of persistent maps given by M
.
Default_map
is a reasonable implementation of Intf.Map
usable with Make_hash_consed
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>