Code: Select all
(context 'foo)
(define (some-fn table)
(lookup 'key-a table))
(context 'bar)
(some-fn '((key-a "value-a") (key-b "value-b")))
Code: Select all
(eval-string (format "%s:key-a" (string (name table true)))
Code: Select all
(context 'foo)
(define (some-fn table)
(lookup 'key-a table))
(context 'bar)
(some-fn '((key-a "value-a") (key-b "value-b")))
Code: Select all
(eval-string (format "%s:key-a" (string (name table true)))
Code: Select all
(context 'foo)
(define (some-fn ctx)
(lookup 'ctx:key-a ctx:table))
(context 'bar)
(set 'table ((key-a "value-a") (key-b "value-b")))
(context 'whatever)
(foo:some-fn bar)
[Click here for audio response.] :-)Jeff wrote:I always prefer to do lots of work at the bar:table. Preferably with a glass:full ;)