[Top][All Lists]

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

Re: Two questions about the guile module system

From: Marius Vollmer
Subject: Re: Two questions about the guile module system
Date: 05 Apr 2003 19:17:35 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Joris van der Hoeven <address@hidden> writes:

> Yet another difference between Guile 1.3.4 and 1.6.3: I can no
> longer use 'use-modules' inside a function.  Why has this
> possibility been prohibited?

Statements like 'define-module', 'use-modules', 'export', etc are
meant to describe the environment of some code in a static way.  A
compiler should be able to interpret them at compile time.

Manipulating the module system at run-time is of course also
important, but we prefer to use more explicit code for it, like
the function 'module-use!'.

GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405

reply via email to

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