[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Declarations in MACROLET
- To: RAM@C.CS.CMU.EDU
 
- Subject: Re: Declarations in MACROLET
 
- From: NGALL@G.BBN.COM
 
- Date: Fri, 01 Aug 1986 02:49:00 -0000
 
- Cc: common-lisp@SU-AI.ARPA
 
- In-reply-to: <RAM.12226812298.BABYL@C.CS.CMU.EDU>
 
- Sender: NGALL@G.BBN.COM
 
	
    Date: Wed, 30 Jul 1986  10:05 EDT
    From: Rob MacLachlan <RAM@C.CS.CMU.EDU>
    
    
	I don't think that it would be correct for a declaration at the
    head of a macrolet to affect the bodies of any of the macros, since
    the bodies of the macros are defined to be in the null environment.
You raise an interesting question:
(flet ((foo ()))
  (locally (declare (inline foo))
    (macrolet ((bar () (foo 1 2 3)))
      (foo)...)))
Currently, does the inline decl affect both calls to foo?  I can't
tell from CLtL.
-- Nick