News for hackers. Stuff that matters.
Re:Scala One Liners by bobfunk on Thursday June 02, 2011 @04:26AM (#2611170)
A different Ruby take on 2. that compares well to the _ + _:

   (1..10).inject(:+)
Re:Scala One Liners by aphyr on Friday June 03, 2011 @03:28PM (#2617672)
Oh... oh my. I never realized that higher arity blocks worked with that syntax. Thanks for that one.