Hi!

Andy Wingo <wi...@pobox.com> writes:

>     SCM scm_public_lookup (SCM module_name, SCM sym);
>     SCM scm_private_lookup (SCM module_name, SCM sym);
>
>     Look up a variable bound to SYM in the module named MODULE_NAME.  If
>     the module does not exist or the symbol is unbound, signal an
>     error.  The "public" variant looks in the public interface of the
>     module, while scm_private_lookup looks into the module itself.

So this would be equivalent to:

  scm_module_variable (scm_resolve_module (module_name), sym)

?

I’m skeptical about adding 8 convenience C functions “as we move more
and more to writing code in Scheme and not in C” ;-), but if that’s what
people really want, then I won’t object.

Thanks,
Ludo’.


Reply via email to