This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: About modules


>>>>> "Jost" == Jost Boekemeier <jostobfe@calvados.zrz.TU-Berlin.DE> writes:

    Jost> In general all functions which evaluate an expression
    Jost> (either direct or indirect) need an environment argument.
    Jost> But also all gh_new_procedure* procedures (in gh_funcs).

From my perspective, the gh_new_procedure stuff is the only thing that
is likely to break many things.  Would it be trivial to have
gh_new_procedure always add to the (guile-user) module (or something)
and then create a new function gh_add_procedure that takes a module
argument?  Then gh_new_procedure could be deprecated.

The same idea could be applied to all the other changes, the old
version implicitly works on (guile-user) and the new improved version
handles the full blown glory of environments.

Thanks,

Clark



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]