[racket-dev] Release Announcement for v5.3, second draft

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Wed Aug 1 10:47:04 EDT 2012

On Wednesday, August 1, 2012, Robby Findler wrote:

> On Wed, Aug 1, 2012 at 8:44 AM, Sam Tobin-Hochstadt <samth at ccs.neu.edu<javascript:;>>
> wrote:
> >> The following have been deprecated and will be removed in the
> >> August 2013 release:
> >>
> >>   - the `define-contract-struct' form. Use `struct' with `struct/dc'
> >>     contracts instead.
> >
> > This entry surprises me.  Has it been discussed on the list?
> > `define-contract-struct` has rather different semantics, right?
>
> What difference are you thinking of?


`struct/dc` uses impersonators/chaperones to place contracts on the actual
structure instances, whereas `define-contract-struct` wraps the
accessor/constructor procedures, right?

Sam

>



-- 
sam th
samth at ccs.neu.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20120801/30319a82/attachment.html>

Posted on the dev mailing list.