Hacker News new | ask | show | jobs
by boygobbo 2230 days ago
In case anyone's interested, here's a Ruby version:

  (1..10).select(&:odd?).map{|x| x*x }.select{|x| x < 50 }