Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'd wager that Io has the shortest:

block(x, if(x == 0, 1, x * call activated call(x - 1)))



This is cheating but it works, in Arc:

[let f nil (= f (_ [f _])) f]




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: