Answers for "haskell fibonacci"

1

haskell fibonacci

fibonacci :: (Integral a) => [a]
fibonacci = 0 : 1 : zipWith (+) fibonacci (tail fibonacci)
Posted by: Guest on December-06-2020

Browse Popular Code Answers by Language