chickadee » miniML » constant?

constant?:procedure

A predicate for constants recognized by the interpreter. OBJECT must be of the form (TYPE VALUE), where value is a Scheme value and type is of the following symbols:

  • nat (natural numbers)
  • real (real numbers)
  • bool (booleans)
  • label (symbols)
  • string (strings)