Primitive type: function

--Overview--
The [[script:index|scripting language]] allows you to define custom functions.

--Syntax--
A piece of code enclosed in curly braces defines a function.

--Composition--
Functions can be composed using the @+@ operator, evaluating @a + b@ first evaluates @a@ and uses its result as @input@ for @b@:
> example := to_upper + { "result == {input}" }
> example("xyz") == "result == XYZ"

Multiple functions can be changed together like this, especially using [[script:rule form]].

--Example--
> example := { a + b }
> example(a: 1, b: 2) == 3
