Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
alaithea
on April 30, 2010
|
parent
|
context
|
favorite
| on:
Reboot PHP: keep the philosophy, improve the synta...
I'm not sure if your comment was intended as sarcasm, but you can pretty much do this in Ruby.
myarray.each {|x| func_a(x); func_b(x); puts x }
is equivalent to
myarray.each do |x| func_a(x) func_b(x) puts x end
jrockway
on April 30, 2010
[–]
Yes, I was being sarcastic. That's Haskell.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: