Haskell:
factorial n =
if n < 2
then 1
else n * factorial (n - 1)
I think the OCaml version will look almost exactly like the F# one.