unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Mikael Djurfeldt <mdj@mit.edu>
Cc: Guile Users <guile-user@gnu.org>,
	djurfeldt@nada.kth.se, guile-devel@gnu.org,
	Neil Jerram <neil@ossau.uklinux.net>
Subject: Re: GOOPS-based SRFI-35 implementation
Date: Thu, 11 Mar 2004 10:38:14 -0500	[thread overview]
Message-ID: <xy7smgftmvt.fsf@chunk.mit.edu> (raw)
In-Reply-To: <87r7w3yuem.fsf@ivanova.rotty.yi.org> (Andreas Rottmann's message of "Mon, 08 Mar 2004 21:07:45 +0100")

Andreas Rottmann <a.rottmann@gmx.at> writes:

> Here, we given your proposed model, we'd get this hierarchy:
>
> (define-class &c ())
> (define-class &c1 (&c))
> (define-class &c2 (&c))
> (define-class &c3 (&c1 &c2)) ;; Class constructed for v3
> (define-class &c5 (&c2 &c3)) ;; Class constructed for v5
>
> This will cause GOOPS to barf: "merge-lists: Inconsistent precedence graph"
>
> I didn't see an obvious solution to this problem.

Well, this is a bug in goops.scm:compute-std-cpl.  The solution is to
fix the bug.  However, this is non-trivial, and I don't have time
right now to fix it myself.  The algorithm should be the C3 algorithm
in http://www.webcom.com/haahr/dylan/linearization-oopsla96.html

M


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


      parent reply	other threads:[~2004-03-11 15:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-28 15:53 GOOPS-based SRFI-35 implementation Andreas Rottmann
2004-03-03 16:02 ` Neil Jerram
2004-03-04  0:20   ` Andreas Rottmann
2004-03-06 12:05     ` Neil Jerram
2004-03-06 14:52       ` Andreas Rottmann
2004-03-08 20:07       ` Andreas Rottmann
2004-03-10  9:17         ` Neil Jerram
2004-03-11 15:38         ` Mikael Djurfeldt [this message]

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=xy7smgftmvt.fsf@chunk.mit.edu \
    --to=mdj@mit.edu \
    --cc=djurfeldt@nada.kth.se \
    --cc=guile-devel@gnu.org \
    --cc=guile-user@gnu.org \
    --cc=neil@ossau.uklinux.net \
    /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).