[plt-scheme] access from an uncertified context to unexported variable from module
Matthew Flatt wrote:
> At Wed, 29 Oct 2008 18:14:21 +0100, Jens Axel Soegaard wrote:
>
>> I am trying to eliminate the following error:
>>
>> compile: access from an uncertified context to unexported variable
>> from module:
>> "/Applications/PLT Scheme Full
>> v4.1.0.3/collects/srfi/42/extra-generators.scm" in: indices->list
>>
>> Error messages says indices->list is unexported, but it is in fact
>> provided from the module
>> in which it is defined.
>>
>
> Is that different from the one in SVN? In the SVN version,
> `indices->list' doesn't seem to be exported.
>
Yikes. I have been hacking on an old version (4.1.0.3). Sigh.
> I assume that something takes apart the `:do'.
Yes.
> In the SVN version of
> SRFI 42, I also see that "expansion.scm" defines an expander that
> parallels the normal macro expander. The expander in "expansion.scm"
> should probably manage certificates, just the the usual expander. Also,
> that management should treat `:do' as transparent for certificates, so
> that it can be pulled apart without forcing `indices->list' to be
> exported. An example alternate expander is in `scheme/private/for'
> (naturally), which does that sort of thing for its own `:do-in'.
>
I'll take a look, thanks for the pointer.
--
Jens Axel Søgaard