Hi,

On Fri 03 Sep 2010 18:13, "Jose A. Ortega Ruiz" <j...@gnu.org> 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/

Reply via email to