I would strongly consider using serial-lambda (from the web server libraries: http://docs.racket-lang.org/web-server-internal/closure.html?q=serial-lambda), which creates a procedure that can be serialized using racket/serialize and sent to a place, rather than (I assume) relying on eval. Alternatively, you could implement a serializable-struct with prop:procedure that can be used as a procedure.
-Philip On Sun, Jan 15, 2017 at 10:32 PM, Andreas Olsson <photoguy....@gmail.com> wrote: > The function sends the lambda to a place, and places don't accept > procedures, so a quoted lambda is the only option. > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.