public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
* Evaluating definitions from another thread
@ 2024-05-10 20:15 Panicz Maciej Godek
  2024-05-10 20:19 ` Per Bothner
  0 siblings, 1 reply; 6+ messages in thread
From: Panicz Maciej Godek @ 2024-05-10 20:15 UTC (permalink / raw)
  To: kawa

[-- Attachment #1: Type: text/plain, Size: 328 bytes --]

Hi,

I've noticed that when I call

(future (eval '(define x 5)))

then the variable x remains unbound after the execution
- even though when I invoke (eval '(define x 5)), x gets bound to 5 as
expected.

Is there a way to have evaluated definitions introduce new bindings
regardless of the thread they're being evaluated from?

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-05-12 21:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-10 20:15 Evaluating definitions from another thread Panicz Maciej Godek
2024-05-10 20:19 ` Per Bothner
2024-05-10 21:03   ` Panicz Maciej Godek
2024-05-11  0:49     ` Per Bothner
     [not found]       ` <CAMFYt2bqd3LNLPFgdhpaDrSkdM_SLGCGYnSqs0-gw0Z9n-OFqw@mail.gmail.com>
     [not found]         ` <4c435a3e-0517-46c5-b541-88f1355dfe4b@bothner.com>
2024-05-12 21:08           ` Panicz Maciej Godek
2024-05-12 21:22             ` Per Bothner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).