[plt-scheme] Describe Function
Oh, but they're all structs. Its turtles, all the way down. :)
Robby
On Tue, Nov 10, 2009 at 9:08 AM, Doug Williams
<m.douglas.williams at gmail.com> wrote:
> That is interesting. At a minimum it solves the else part of the cond. I
> would never have thought of using struct->vector on things I knew weren't
> structs.
>
> On Tue, Nov 10, 2009 at 7:43 AM, Robby Findler <robby at eecs.northwestern.edu>
> wrote:
>>
>> On Tue, Nov 10, 2009 at 8:41 AM, Dave Herman <dherman at ccs.neu.edu> wrote:
>> >> This probably doesn't help Doug, but here is another way to define the
>> >> function linked above:
>> >
>> > That's neat, thanks! Has struct->vector always worked on non-structs?
>>
>> I'm not sure about always, but at some point a while ago, Matthew
>> decided that all values are structs (in the sense that you could have
>> implemented everything with structs and scope, etc even if some of
>> them are implemented in C) and adapted the primitives to make them
>> behave accordingly.
>>
>> Robby
>
>