[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix for `submodules' in (ice-9 session) (closes #30062)
From: |
Andy Wingo |
Subject: |
Re: [PATCH] Fix for `submodules' in (ice-9 session) (closes #30062) |
Date: |
Sat, 04 Sep 2010 10:34:41 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Hi,
On Fri 03 Sep 2010 18:13, "Jose A. Ortega Ruiz" <address@hidden> writes:
> On Fri, Sep 03 2010, Andy Wingo wrote:
>
>> We can add flags to modules to indicate that they are temporary; not
>> "user modules".
>
> That'd be great. Then, we could add a (keyword) parameter to the folding
> functions to exclude (or, i think i would prefer, include) temporary
> modules in the traversal (or create new functions doing that).
You can already filter out modules whose "kind" is #f:
scheme@(guile-user)> (module-kind (resolve-module '(ice-9 q)))
$3 = directory
scheme@(guile-user)> (module-kind (make-fresh-user-module))
$4 = #f
I don't think we need an extra flag. However module "kinds" need some
retroactive design, I think...
Andy
--
http://wingolog.org/