Re: [racket-users] Moving a function into a different `place?`

2021-07-01 Thread George Neuner
On 7/1/2021 2:36 PM, David Storrs wrote: What is the best way to pass a function into a child `place`? 1.  just define the functions in a context the place can see 2.  send the name of a local file for the recipient to dynamic-require 3.  send the definition file for the recipient to save

Re: [racket-users] Moving a function into a different `place?`

2021-07-01 Thread Sam Tobin-Hochstadt
Ah, this must be a case where different platforms behave differently, because I still see other threads running even with `finder:std-get-file` on Linux. Sam On Thu, Jul 1, 2021 at 2:58 PM David Storrs wrote: > > > > On Thu, Jul 1, 2021 at 2:42 PM Sam Tobin-Hochstadt > wrote: >> >> Your "only

Re: [racket-users] Moving a function into a different `place?`

2021-07-01 Thread David Storrs
On Thu, Jul 1, 2021 at 2:42 PM Sam Tobin-Hochstadt wrote: > Your "only remaining idea" is what I'd recommend for telling another > place what function to run (that's how dynamic-place works in the > first place). But your [details] sounds worrying. I just tested on my > machine and it didn't

Re: [racket-users] Moving a function into a different `place?`

2021-07-01 Thread Sam Tobin-Hochstadt
Your "only remaining idea" is what I'd recommend for telling another place what function to run (that's how dynamic-place works in the first place). But your [details] sounds worrying. I just tested on my machine and it didn't happen for me, and I don't think it's supposed to happen on other

[racket-users] Moving a function into a different `place?`

2021-07-01 Thread David Storrs
What is the best way to pass a function into a child `place`? I've got a server function that accepts a dispatch function as one of its arguments and I need to be able to run the server in a separate `place` (in the dynamic-place sense) because it's part of a GUI application. [details] My