haskell short fibonacci oneliner using zipWith O(n)

fibs = 1 : 1 : zipWith (+) fibs (tail fibs)

参与讨论