[racket-dev] [racket-bug] all/12861: promise/c does not maintain equality

From: Asumu Takikawa (asumu at ccs.neu.edu)
Date: Wed Jul 11 13:02:49 EDT 2012

On 2012-07-11 11:33:39 -0500, Robby Findler wrote:
> If you're limiting access, could you provide a function-based
> interface that wrapped the impersonating procedures to add the checks
> instead of using a guard?

I'm not sure this would work because the user interface for inserting the data
into the property is via the #:property or #:methods arguments in the `struct`
form. The guard seems to be the only way to add any checking there (without
wrapping or modifying `struct`).

Cheers,
Asumu

Posted on the dev mailing list.