Macro swipl_macros::atom

source ·
atom!() { /* proc-macro */ }
Expand description

Create a static atom.

The atom will only actually be created on first invocation. Each subsequent invocation will reuse the earlier retrieved atom. This is convenient for code that uses the exact same atom on repeated invocations.