[racket] Size matters
On Mon, Jun 10, 2013 at 9:09 AM, Matthias Felleisen
<matthias at ccs.neu.edu> wrote:
>
> On Jun 10, 2013, at 8:51 AM, Laurent wrote:
>
> On Sun, Jun 9, 2013 at 7:54 PM, Matthias Felleisen <matthias at ccs.neu.edu>
> wrote:
>>
>> (struct-open item item1 weight value volume)
>
>
> I would love to see such an addition to core Racket!
>
> It's on my todo-list.
I don't understand what's better about `struct-open` than:
(match-define (item weight value volume) item1)
which is a far more general form. I don't think we should add a
version of `match-define` specialized for structs unless there's a
particular need for it.
Sam