🌈 搜索
📅  最后修改于: 2022-03-11 14:53:34.995000             🧑  作者: Mango
factorial :: (Integral a) => a -> a factorial 0 = 1 factorial n = n * factorial (n - 1)