package dolmen_type

  1. Overview
  2. Docs

A module for constant symbols that occur in terms.

type t

The type of constant symbols that can occur in terms

val compare : t -> t -> int

Comparison function on constant symbols.

val arity : t -> int * int

Returns the arity of a term constant.

val mk : Dolmen.Std.Path.t -> Ty.t -> t

Create a constant symbol.

val set_tag : t -> 'a Tag.t -> 'a -> unit

Tag a constant.

val add_tag : t -> 'a list Tag.t -> 'a -> unit

Add a value to the list of values bound to a tag.

OCaml

Innovation. Community. Security.