[Prev][Next][Index][Thread]

Re: Dylan Features



In article <398ACAE5.45966287@lotus.com>, Enter your Notes name here 
<firstname_lastname@lotus.com> wrote:

> I seem to remember that back in the old days, when Dylan had
> Scheme-style syntax, that you could add slots to individual instances.
> Can you do this in the current version of Dylan?

No.

I expect there was no way to implement it efficiently.  Since from the 
user's point of view slot access is identical to calling a function of 
one argument, it's not hard to fake it by instead creating generic 
functions.


> Also, does Dylan have something like Scheme's
> call-with-current-continuation? Thanks!

Dylan doesn't have call-with-current-continuation.  A lot of the things 
people build using call-with-current-continuation are instead built into 
Dylan e.g. exceptions, multiple value return.  Coroutines would be the 
main other one, and I think should probably be required by the Dylan 
spec, but they aren't.

-- Bruce



Follow-Ups: References: