On Thu, May 29, 2008 at 5:33 AM, Jim Ursetto <[EMAIL PROTECTED]> wrote:
>
> Also--the miscmacros module uses a few bindings from the chicken module:
>
> (import (only chicken
>              when unless handle-exceptions
>              let-optionals make-parameter))
>
> However adding this import line to miscmacros is basically useless (as far as 
> I
> can tell) because the macros are expanded in the caller's environment, so the
> caller is the one who needs to do the import from chicken.
>
> I'd like to know the proper way to handle this, if any.  Does the caller
> need to explicitly import any dependencies?

A workaround is to re-export the macros that are used in the expansion
of your macros.

I will try to fix this.


cheers,
felix


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to