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?))])
`----
generates:
,----
| 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
serializable-structs?
Cheers,
--
PMatos