A fauna of functions

Red's built-in functions can be categorized as follows. The type is indicated within ():

The native, routine, and action functions are written in Red/System. Action functions are special in that they are polymorphic—they are defined for more than one datatype. Which action code is executed depends on the type of its first argument.

In this section, we'll cover the variety of ways that exist to define your own functions.