Added assert

This commit is contained in:
Dmitry Boulytchev 2021-01-25 01:22:56 +03:00
parent eeddb0b25a
commit 2b9adec087
6 changed files with 15 additions and 2 deletions

View file

@ -12,6 +12,9 @@ is added implicitly by the compiler and can not be specified by an end user.
The following declarations are accessible:
\descr{\lstinline|fun assert (n, s, ...)|}{Asserts that \lstinline|n| is non-zero; otherwise raises \lstinline|failure| with
a corresponding error message.}
\descr{\lstinline|fun stringInt (s)|}{Converts a string representation of a signed decimal number into integer.}
\descr{\lstinline|fun read ()|}{Reads an integer value from the standard input, printing a prompt "\lstinline|>|".}