guile-devel
[Top][All Lists]
Advanced

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

Re: Applicable GOOPS objects?


From: Nala Ginrut
Subject: Re: Applicable GOOPS objects?
Date: Sat, 24 Mar 2012 11:36:24 +0800

hi Mark!
I think this will enhance our multi-language feature. Other inner language may need it later.
And I don't see any harm with this generic-apply.
Personally, I wish this could be done soon. Because I'm interested in adding new inner language too. ;-)

Regards.

On Sat, Mar 24, 2012 at 3:02 AM, Mark H Weaver <address@hidden> wrote:
Hello all,

I was chatting with the folks working on Python-on-Guile, and it seems
clear that they need the ability to create GOOPS objects that can
emulate procedures.  Otherwise they will probably end up creating an
entirely separate object system for Python, which would obviously be
suboptimal.

I think the most flexible approach is to add a standard generic function
'generic-apply' that gets called whenever someone tries to use a GOOPS
object as a procedure.  I guess 'procedure?' should return true for a
GOOPS object iff there exists an applicable method for 'generic-apply'.

What do you think?

I'd like to get this done quickly, because the Python-on-Guile folks
only have a couple of months to do their project, and they need to
decide on their data representation strategy ASAP.

   Thanks!
     Mark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]