opensubscriber
   Find in this group all groups
 
Unknown more information…

g : guile-devel@gnu.org 6 July 2012 • 6:06AM -0400

Re: bug#11198: prefab structs in guile
by Andy Wingo

REPLY TO AUTHOR
 
REPLY TO GROUP




On Thu 05 Jul 2012 23:55, ludo@gnu.... (Ludovic Courtès) writes:

> Andy Wingo <wingo@pobo...> skribis:
>
>>   Since the expression reader can generate prefab instances, they are
>>   useful when convenient serialization is more important than
>>   abstraction. Opaque and transparent structures also can be serialized,
>>   however, if they are defined with define-serializable-struct as
>>   described in Datatypes and Serialization.
>
> So I’d be in the ‘define-serializable-struct’ camp, so to speak.

To be clear: in Racket, serializable structs are not readable.  That's
the whole point of prefab structs: a struct that is readable.

Andy
--
http://wingolog.org/


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.