[Top][All Lists]

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

Re: Loading mysterium

From: Andy Wingo
Subject: Re: Loading mysterium
Date: Mon, 17 Jan 2011 19:31:54 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

On Sat 18 Dec 2010 10:45, Stefan Israelsson Tampe <address@hidden> 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.


reply via email to

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