[racket] Serializable struts and the quoted module path

From: Michael Wilber (mwilber at uccs.edu)
Date: Thu May 24 20:14:20 EDT 2012

Hey there!

So I'm trying to use racket/serialize according to

According to the third bullet point, custom serializable structure types
include a "quoted module path" pointing to a module that provides the
serialized structure's serialization info. It seems to be a full
absolute filesystem path in my tests.

Problem is, I want to send serializable structs across the network to a
machine where the module path is different.

Is there a sane way to, uh, strip off the absolute parts in that path? I
could just mess around with the serialized info myself, but... oy,
that just feels nasty.

(If anyone's curious, my ultimate goal is to send serializable lambdas
to other machines. Just like Distributed Places, but not as conceptually
confusing and constraining.)

Thanks in advance.

Posted on the users mailing list.