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

Domain Expression

Defines the domain.

The domains we currently support are:

  • boolean
  • integer

For example, it can be used like this:

Example of a domain expression

Which would produce the following Essence Output:

domain int ( 0 .. 5  )

For more information about domains in essence, see this.