[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with eval-when/shadowing-import
- To: clisp-list@ma2s2.mathematik.uni-karlsruhe.de
- Subject: Re: Problems with eval-when/shadowing-import
- From: Pierpaolo Bernardi <bernardp@CLI.DI.Unipi.IT>
- Date: Thu, 18 Sep 1997 17:33:57 +0200 (MET DST)
- In-reply-to: <199709181414.QAA11908@sponsor.iti.informatik.th-darmstadt.de> from "Roger Kehr" at Sep 18, 97 05:12:28 pm
- Organization: Centro di Calcolo - Dipartimento di Informatica di Pisa - Italy
> #+:TEST
> (shadowing-import 'language:data)
>
> #-:TEST
> (eval-when (compile load eval)
> (shadowing-import 'language:data))
>
> (eval-when (compile load eval) (describe 'data))
In the #+:TEST case, the shadowing-import is not evaluated at compile
time, so, when the next form is compiled the shadowing-import has not
taken effect. Nothing wrong with Clisp, as far as I can see.
Pierpaolo.