in reply to PadViewer - a riff on PadWalker

Someone thought that PadWalker was useless, but I thought it was a neat way to calculate Fibonacci numbers!

Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality... download and use The Emacs Code Browser

Replies are listed 'Best First'.
Re: Re: PadViewer - a riff on PadWalker
by diotalevi (Canon) on Sep 04, 2003 at 21:01 UTC

    So how did you do it?

      it's been awhile and in fact, when I wrote my fibo.pl using it, it wouldn't work due to a defect in PadWalker at that time but then he fixed that defect but I never got back to running my code... but if you know what Fibonacci numbers are and if you know that Padwalker allows you to look at previous elements of a stack, then you should be able to put 2 and 2 together quite easily, no?

      Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality... download and use The Emacs Code Browser