[plt-scheme] boxes?
On Jan 24, 2007, at 2:11 PM, Joe Marshall wrote:
> On 1/23/07, John Clements <clements at brinckerhoff.org> wrote:
>>
>> No, you're exactly right: set! changes a _binding_.
>>
>> Furthermore, you're also exactly right in saying that the
>> similarities in syntax can be confusing. Don't be suckered, though:
>> set-car! changes a _value_, not a binding.
>>
>> I think you will find many sympathetic ears in suggesting that set!
>> and set-car! are unfortunately close.
>
> If I could work my will I would remove set! from the language
> altogether.
We have taught with this restriction at Rice (i.e., set-box! without
set!).
It's painful.
If you mean all set*!, then you need to convince a whole lot of
people first.
>
>
>
> --
> ~jrm
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme