unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Applicable GOOPS objects?
@ 2012-03-23 19:02 Mark H Weaver
  2012-03-24  3:36 ` Nala Ginrut
  2012-03-24  4:52 ` BT Templeton
  0 siblings, 2 replies; 7+ messages in thread
From: Mark H Weaver @ 2012-03-23 19:02 UTC (permalink / raw)
  To: guile-devel

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-03-25 13:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-23 19:02 Applicable GOOPS objects? Mark H Weaver
2012-03-24  3:36 ` Nala Ginrut
2012-03-24  4:52 ` BT Templeton
2012-03-24  6:23   ` Mark H Weaver
2012-03-24 18:07   ` Mark H Weaver
2012-03-24 23:48     ` BT Templeton
2012-03-25 13:50       ` Mark H Weaver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).