Safe Haskell | Safe-Inferred |
---|
Documentation
The isFib function returns whether or not the given number is a Fibonacci number.
The nthFib function returns the nth Fibonacci number.
:: Integer | The maximum Fibonacci number to return |
-> [Integer] | Returns all Fibonaccis below the threshold |
The fibsUpTo function returns the list of Fibonacci numbers that are less than or equal to the given number.
first1001Fibs :: [Integer]Source
first1001Fibs is a list of the first 1001 Fibonacci numbers. This list was retrieved from the Gutenberg Project (http:www.ibiblio.orgpubdocsbooksgutenbergetext01fbncc10.txt)
The fibsLen function returns the number of Fibonacci numbers in the first1001Fibs list.