Perl 6
Fibonacci Sequence: Revision 1
^^ Description


"Originally designed as an exercise in addition for students, the Fibonacci Sequence has some really interesting mathematical properties. While completely ignoring its unexpected niftiness (and explicit formula), this miraculous sequence is still used as busy work for poor creatures."

^^ Solutions

* "using memoization"<http://svn.pugscode.org/pugs//examples/algorithms/fibonacci_memoization.pl> (pugs svn)
* "using tail call"<http://svn.pugscode.org/pugs//examples/algorithms/fibonacci_tail_call.pl> (pugs svn)

^^ Status with current release of perl 6 / parrot

*** TODO ***

^^ Benchmarks

*** TODO ***

^^ Comparisons against Perl 5, etc

* Perl : "Brian d Foy using it to profile (DDJ)"<http://www.ddj.com/184404580>
* Python : "example 1"<http://www.daniweb.com/code/snippet404.html>, "examples 2"<http://davidf.sjsoft.com/mirrors/mcmillan-inc/tutorial2.html>
* Ruby : "Example at Literate Programming"<http://en.literateprograms.org/Fibonacci_numbers_%28Ruby%29>

^^ References

* "Wolfram on Fibonacci Numbers"<http://mathworld.wolfram.com/FibonacciNumber.html>
* "Wolfram on Fibonacci Function"<http://functions.wolfram.com/IntegerFunctions/Fibonacci/>


Upload Files

Click "Browse" to find the file you want to upload. When you click "Upload file" your file will be uploaded and added to the list of attachments for this page.

Maximum file size: 50MB

 
 
 
File Name Author Date Uploaded Size

Save Page As

Enter a meaningful and distinctive title for your page.

Page Title:

Tip: You'll be able to find this page later by using the title you choose.

Page Already Exists

There is already a page named XXX. Would you like to:

Save with a different name:

Save the page with the name "XXX"

Append your text to the bottom of the existing page named: "XXX"

Upload Files

Click "Browse" to find the file you want to upload. When you click "Add file" this file will be added to the list of attachments for this page, and uploaded when you save the page.

 
 
 
Add Tags

Enter a tag and click "Add tag". The tag will be saved when you save the page.

Tag: 

Suggestions: