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

Given List

Used to declare a parameter and its domain.

For example, it can be used like this:

Example of ‘given’

Which would produce the following Essence Output:

given x : int ( 0 .. 5  )  ,