I'm trying to do something like the following:<br><br>I create a struct, say (struct foo (bar baz) #:transparent), where bar is a string and baz is an integer, and then write - using write, not display - several instances of the struct to a file. When I inspect the file, it looks something like this:<br>
<br>#(struct:foo "string1" 1)<br>#(struct:foo "string2" 2)<br><br>When I read this back in to my program, I get an s-exp back that is '#(struct:foo "string1" 1). When I eval it, it's still '#(struct:foo "string1" 1), and calling (foo?) on it returns #f. Is there someway that I can reconstitute this back into a foo struct?<br>
<br>Thanks.<br>