F# (2005)

Клон ML.

let rec fact n = if n < 2 then 1 else n * fact(n - 1);;

fact 6;;