Code: Select all
(global 'foo)
(context 'bar)
(constant 'foo 2)
=> ERR: symbol not in current context in function constant : foo
But if something is global, doesn't that change the rules a bit?Only symbols from the current context can be used with constant. This prevents the overwriting of symbols that have been protected in their home context.