[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: eval-when



    But consider:

    (eval-when (compile)
      (eval-when (eval)
        <stuff>))

    When COMPLR sees the outer eval-when, it calls EVAL to process the
    rest of the stuff.  Then EVAL sees the inner eval-when and, sure
    enough, it's now EVAL-time so <stuff> gets evaluated!

Well, when the compiler is evaluating stuff that was inside an
(eval-when (compile) ...), SHOULD that be considered EVAL time or not?
(Q: What time is it when the compiler evaluates something inside
an (eval-when (eval) ...)?  A: Time to get a new compiler.)

Actually I am not sure what is right.  We could simply award this case
to the first person who is trying to do something reasonable and wants
it a particular way...