unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: Stefan Israelsson Tampe <stefan.itampe@gmail.com>
Cc: Guile bug <bug-guile@gnu.org>
Subject: Re: Loading mysterium
Date: Mon, 17 Jan 2011 19:31:54 -0500	[thread overview]
Message-ID: <m339orkq6d.fsf@unquote.localdomain> (raw)
In-Reply-To: <201012181645.13509.stefan.itampe@gmail.com> (Stefan Israelsson Tampe's message of "Sat, 18 Dec 2010 16:45:13 +0100")

On Sat 18 Dec 2010 10:45, Stefan Israelsson Tampe <stefan.itampe@gmail.com> writes:

> Consider macro m1 in module a) is a macro writer macro
> In module b) m1 is used to create m2
>
> Now loading module b) and using fails in some circumstances.

...the circumstance being, the interface that m2 was expanded against
changed.  In theory this should render the compiled module b) too-old,
with respect to its dependencies -- which is to say, not just b.scm, but
also a.scm (or more generally, the module a).

Guile doesn't handle this properly.  It assumes that if b.go is newer
than b.scm, b.go is usable.  That is not the case, generally.

A proper solution would have b.go encode the modules that it depends
on, and check against those modules.

Andy
-- 
http://wingolog.org/



      parent reply	other threads:[~2011-01-18  0:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-18 15:45 Loading mysterium Stefan Israelsson Tampe
2010-12-21 17:52 ` Ludovic Courtès
2010-12-22 20:37   ` Stefan Israelsson Tampe
2011-01-18  0:31 ` Andy Wingo [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=m339orkq6d.fsf@unquote.localdomain \
    --to=wingo@pobox.com \
    --cc=bug-guile@gnu.org \
    --cc=stefan.itampe@gmail.com \
    /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).