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
_________________________
  Racket Developers list:
  http://lists.racket-lang.org/dev

Reply via email to