[racket] serializability of ISL structures?
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