Node:Parameter lists, Next:, Previous:Function definition syntax, Up:Functions



Parameter lists

Parameter lists appear in a number of places:

In general. each parameter is an expression which matches the value supplied when a function is called or an object is created. However, these expression may be interpreted in non-standard ways.

The most common parameter has the form:

:ident~type
Here, ident is an identifier, and type is some type-expression. This means that the actual parameter is coerced to the type type, and the result becomes the value of ident.