metta_const

Macro metta_const 

Source
metta_const!() { /* proc-macro */ }
Expand description

Similar to metta! but constructs a constant Atom. Main goal is to be able writing const SOME_SYMBOL: Atom = metta_const!(SomeSymbol). This macros uses constant constructors for symbols, variables and expressions internally. Grounded values are not supported as they cannot be instantiated without allocating memory.