Code: Select all
> (sym "CON" MAIN nil)
CON
> (context? CON)
true
> (context? (sym "CON" MAIN nil))
nil
Is there a way to check the existence of a context given by a string?
Code: Select all
> (sym "CON" MAIN nil)
CON
> (context? CON)
true
> (context? (sym "CON" MAIN nil))
nil
Code: Select all
> (sym "CON" MAIN nil)
nil
> (set 'CON:foo 123)
123
> (sym "CON" MAIN nil)
CON
> (context? (eval (sym "CON" MAIN nil)))
true