KRL has several libraries that are useful for dealing with special data types and extend the allowed functions. In general, to reference a function from a library, you use the following syntax:

<library-name>:<function-name>(<arg0>,<arg1>,...,<argn>)

The following sections describe built-in libraries. Some of them have not yet been ported from the classic engine.