Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Declarative macros are used to transform an expression into another code. They end with an exclamation mark (!). In the following example, the vec! macro is used to create a vector of integers:

[1, 2, 3]