On Tuesday, September 25, 2012, Martin Cracauer wrote:
 
Nikodemus Siivola wrote on Tue, Sep 25, 2012 at 09:29:58AM +0300:
> On Tuesday, September 25, 2012, Martin Cracauer wrote:
>
> > Not sure why I can't recurse in things used at compile time anymore
> > but nothing that would have cost time to change.
>
> Can you give an example of this? I'm not sure what you mean..

A regular defun, then it goes through what we call
declare-foldable-constant-operator which resolves to

sb-c::defknown <funname> ... (sb-c::movable sb-c::foldable
sb-c::flushable)

If the original defun is having recursive calls, then compilation
fails now, used to work in 1.0.57.10.  Simply putting the recursive
elements in a labels inside defun fixes it.

That's wierd -- that it used to work. You can also add sb-c::recursive to the defknown.

  -- ns 


--
Sent from a tablet, sorry about the top-post and sloppy editing.