I'm not sure this change handles submodules, in particular the main submodule, correctly. In the following program, should the thing in the main submodule be run as part of the initial dataspace?
#lang syndicate/actor
(module+ main
(spawn (on-start (printf "here I am\n"))))
With the changes, nothing happens. But the previous version just printed out the actor struct.
The uses of (module+ main) I've found in syndicate programs just use it to change the current-ground-dataspace. Should anything else be supported?
Fixes 33
I'm not sure this change handles submodules, in particular the
main
submodule, correctly. In the following program, should the thing in the main submodule be run as part of the initial dataspace?With the changes, nothing happens. But the previous version just printed out the actor struct.
The uses of
(module+ main)
I've found in syndicate programs just use it to change thecurrent-ground-dataspace
. Should anything else be supported?