package dolmen_loop

  1. Overview
  2. Docs

A module for constant symbols the occur in types.

The type of constant symbols the can occur in types

val compare : t -> t -> int

Comparison function on type constants.

val print : Stdlib.Format.formatter -> t -> unit

Printing function.

val arity : t -> int

Return the arity of the given symbol.

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

Create a type constant with the given arity.

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

Set the value bound to a tag.

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

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


Innovation. Community. Security.