Hacker News new | ask | show | jobs
by antfarm 3499 days ago
Or:

  (1...i).reduce(0) { $0 + g($1) }