Re: (Caja-CapTP) Re: Mutual introduction & a species of whale
Kevin Reid <[email protected]>
| Newsgroups | gmane.comp.lang.e.general |
|---|---|
| Message-ID | <[email protected]> |
On Jul 8, 2009, at 20:15, Tyler Close wrote: > On Mon, Jul 6, 2009 at 7:15 AM, Kevin Reid<[email protected]> wrote: >> On Jul 1, 2009, at 20:10, Tyler Close wrote: >> >>> On Wed, Jul 1, 2009 at 11:19 AM, Kevin Reid<[email protected]> wrote: >>>> I am currently not using Tyler's JS ref_send because its >>>> interface to >>>> JavaScript appears to be incompatible with the sort CapTP wants >>>> (with >>>> regard to object types and distinctions and so on). >>> >>> I'm surprised by that. Can you give me more details? >> >> The first thing I noticed (from the implementation of 'near') is that >> any function is considered a promise. In a CapTP-style system, any >> arbitrary unknown object should be treated as a Selfish object. I >> could declare that 'functions are not objects', but that ...just >> doesn't feel right, in this context. > > Anything else? > > I can put a marker on the promise functions if that's all you need. I don't wish to take the time now to make a thorough study of whether they are compatible, especially as I already have an implementation of E-style refs; I will investigate the matter after I am no longer under the GSoC obligation to work on specific goals (August 17 -- unfortunately). -- Kevin Reid <http://switchb.org/kpreid/>