Y
Hacker News
new
|
ask
|
show
|
jobs
by
BoorishBears
3433 days ago
Most of the garbage is because those aren't the closest equivalents.
This is the closest Erlang equivalent:
fac(0) -> 1; fac(N) -> N * fac(N-1).