Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
richcollins
on March 2, 2009
|
parent
|
context
|
favorite
| on:
The Y Combinator in Arc and Java
I'd wager that Io has the shortest:
block(x, if(x == 0, 1, x * call activated call(x - 1)))
dreish
on March 2, 2009
[–]
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:
block(x, if(x == 0, 1, x * call activated call(x - 1)))