Here we have a simple function that returns the argument plus two.
Functions can optionally end in an expression, which will return the value for us.
We can also make a closure, a function inside another one.
We can leave the type off of a lambda's parameter, to make it shorter. 0
In Vale, functions and methods are the same thing, so these two calls are exactly equivalent.
This is known as Universal Function Call Syntax, or UFCS. This makes method chaining nicer, for example:
as opposed to
h(g(f(a, 3), true), "Yendor").