标签:
let toBigInt (n: int) = bigint(n) let fac n = [1..n] |> List.map toBigInt |> List.reduce (*)
F# Factorial
原文地址:http://www.cnblogs.com/nickleeh/p/4499509.html