[racket] TR: struct: #:prefab option

From: Ray Racine (ray.racine at gmail.com)
Date: Mon May 6 10:09:06 EDT 2013

The below is now failing for me.
(struct: Stuff ([this : String][that : Natural]) #:prefab)

True the TR documentation explicitly enumerates #:transparent and #:mutable
as the only valid struct: options, however, #:prefab did work.  I have a
decent amount of code in some cluster stuff that leverages prefab
structures as an easy and effective serialization mechanism across sockets
and UDP broadcasts.

If there is a typing issue with the use of #:prefab and its banishment
permanent, is there an alternate best practice mechanism for easy struct:
serialization/de-serialization?


Thanks,

Ray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130506/80c769ce/attachment.html>

Posted on the users mailing list.