[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] miscmacros hygienic
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] miscmacros hygienic |
Date: |
Thu, 29 May 2008 16:58:26 +0200 |
On Thu, May 29, 2008 at 5:33 AM, Jim Ursetto <address@hidden> 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