Y
Hacker News
new
|
ask
|
show
|
jobs
by
foldr
2265 days ago
Hmm, I wrote some similar test code before writing my comment, but only included one 'case'. Indeed, you're right, they're evaluated only as needed.