= 1024" x-on:close-sidebar="sidebar=window.innerWidth >= 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
A module for Algebraic datatype constructors.
type t = Dolmen.Std.Expr.term_cst
An algebraic type constructor. Note that such constructors are used to build terms, and not types, e.g. consider the following: type 'a list = Nil | Cons of 'a * 'a t
, then Nil
and Cons
are the constructors, while list
would be a type constant of arity 1 used to name the type.
val arity : t -> int * int
Returns the arity of a constructor.