[Aldor-l] workaround for: Re: problems with list of domains

Christian Aistleitner tmgisi at gmx.at
Tue Oct 31 01:28:21 EST 2006


Hello,

On Mon, 30 Oct 2006 16:32:55 +0100, Martin Rubey  
<martin.rubey at univie.ac.at> wrote:

> #include "aldor"
> []$(List PrimitiveType)

your examples (These were good ones!) helped a great deal to give me an  
impression of the reason why the code crashes, which suffices to get a  
nice and clean workaround:
It's the conditional exports, when List gets evaluated.

Take the source code of List and define a ListWithoutConditionalExports  
with it.
Strip all the conditional exports out of the code.
That did the trick for me.

And best practice would be to not use ListWithoutConditionalExports  
directly, but use it only via a macro, so you have a quick fix, once List  
gets fixed.

Kind regards,
Christian



More information about the Aldor-l mailing list