[racket] serializability of ISL structures?

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Sat Nov 16 12:22:30 EST 2013

Kind of. If this is about Universe programming (so that students can send messages back and forth), I have them write conversion functions: 

 (define-struct hh (cakes henries))

 (define (hh->lists hh)
   (list (cakes->lists (hh-cakes hh)) (henries->lists (hh-henries hh))))

-- Matthias




On Nov 16, 2013, at 11:57 AM, nr at cs.tufts.edu (Norman Ramsey) wrote:

> A structure is defined with `define-struct` in Intermediate Student Language.
> Is it serializable?   That is, can it be written and then re-read
> successfully with `write` and `read`?  If not, is there a way to make it so?
> (I have found the function `make-serialize-info` in the racket/serialize
> library, but the documentation relies on Racket concepts that I have not
> yet learned.)
> 
> 
> Norman
> ____________________
>  Racket Users list:
>  http://lists.racket-lang.org/users



Posted on the users mailing list.