Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Letting Statement

Used to define a variables’ domain. This must be nested in a ‘letting’ block.

For example, it can be used like this:

Example of a letting statement

Which would produce the following Essence output:

letting x be domain int ( 0 .. 5  )