[racket] Serializable Structs and Contracts

From: Paulo J. Matos (pocmatos at gmail.com)
Date: Sun Jun 6 07:19:54 EDT 2010

After playing a bit with serializable structs I just noticed that the
usual contract on structs doesn't work:
| (define-serializable-struct point
|   (x y))
| (provide/contract
|  [struct point ((x number?) (y number?))])

| provide/contract: expected a struct name in: point

Oh no! :-(
Any way to have contracts over serializable structs? Looking at the docs
didn't provide much help. I am running 4.2.1. If nothing is implemented
for this version, do new versions support contracts for



Posted on the users mailing list.