Variables and Constants
Free variables can be defined simply by giving them a name
Constants are written with the constructor Bound
. A node/baker constant is
written by its name:
There are smart constructors for level and round constants so that they can be written easily:
Once a free variable is bound to a constant by matching, it is bound to this same constant for the rest of the scenario.
Catch-all variables are written by the constructor Any
or simply
(two underscore symbols):