unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Tobias Brandt <tob.brandt@gmail.com>
To: guile-user@gnu.org
Subject: GOOPS: calling next-method with different arguments.
Date: Fri, 19 Apr 2013 09:18:00 +0200	[thread overview]
Message-ID: <CAOOWqiqY9XBPgL2PpDqJmTSc-eo-xFquhmBWbvudvNBihJTR4w@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 441 bytes --]

I posed the following question regarding constructors in Lisp/CLOS on
stackoverflow:
http://stackoverflow.com/questions/16089809/whats-the-equivalent-of-constructors-in-clos

The accepted answer uses the ability of CLOS to modifiy the arguments
passed to CALL-NEXT-METHOD.

I know it's (currently) not possible to change the method arguments when
calling next-method in GOOPS. How would you solve that problem (if
possible)?

Cheers,
Tobias

[-- Attachment #2: Type: text/html, Size: 657 bytes --]

             reply	other threads:[~2013-04-19  7:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-19  7:18 Tobias Brandt [this message]
2013-04-19  8:54 ` GOOPS: calling next-method with different arguments Panicz Maciej Godek
2013-04-19 22:58   ` Panicz Maciej Godek
2013-04-21 16:05     ` Tobias Brandt
2013-04-21 17:17       ` Tobias Brandt
2013-04-22  4:39         ` Daniel Hartwig
2013-04-22  6:42           ` Tobias Brandt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOOWqiqY9XBPgL2PpDqJmTSc-eo-xFquhmBWbvudvNBihJTR4w@mail.gmail.com \
    --to=tob.brandt@gmail.com \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).