Function mini-reference
This section describes a subset of Unicon’s built-in functions deemed most likely to be relevant to programming language implementers. For a full list, see Appendix A of Programming with Unicon. The parameters’ required types in this section are given by their names. The names c
or cs
indicate a character set. The names s
or str
indicate a string. The names i
or j
indicate integers. A name such as x
or any
indicates that the parameter may be of any type. Such names may be suffixed with a number to distinguish them from other parameters of the same type. The colons and types after the parameters indicate return types, along with the number of returned values. Normally, a function will have exactly one return value. A question mark indicates that the function is a predicate that can fail with zero or one return value. An asterisk indicates that the function is a generator with zero or more return values.
Many functions also have default values...