[racket] Use of "struct:"

From: Asumu Takikawa (asumu at ccs.neu.edu)
Date: Fri Jan 27 17:49:40 EST 2012

On 2012-01-27 18:41:27 -0300, Paul Leger wrote:
> But I get:
>    module: identifier already provided (as a different binding) in: egg

This seems like a bug. You can instead provide the constructor,
accessors, and other procedures manually. e.g. like
  (provide egg egg? egg-color egg-wt)

> PS: Another simple question, Which is the syntax to define only one
> mutable field in a "struct:" in Typed Racket?

I don't think this is possible with the current struct: macro.

Cheers,
Asumu

Posted on the users mailing list.