Last active
December 18, 2015 06:59
-
-
Save alex-lx/5743536 to your computer and use it in GitHub Desktop.
Revisions
-
alex-lx revised this gist
Jun 9, 2013 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1,2 @@ fibs = 1:1:zipWith (+) fibs (tail fibs) fib n = fibs !! n -
alex-lx created this gist
Jun 9, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ fib n = let fibs = 1:1:zipWith (+) fibs (tail fibs) in fibs !! n