Module Const_eval.Make

Parameters

module Terms : Sig.TERMS

Signature

exception Empty
exception Not_a_constant

Returns the value if the term is indeed a singleton value;

  • raises Empty

    if it is the empty value;