📜  haskell fibonacci - Haskell 代码示例
📅  最后修改于: 2022-03-11 14:53:34.990000             🧑  作者: Mango
代码示例1
fibonacci :: (Integral a) => [a]
fibonacci = 0 : 1 : zipWith (+) fibonacci (tail fibonacci)