News for hackers. Stuff that matters.
Re:The 5 Stages of NoSQL by paulddraper on Wednesday September 21, 2016 @10:31AM (#12548463)
Scala

    sales
      .filter(DateTime.now - 3.years < _.sold)
      .groupBy(_.emp)
      .collect {
        case (emp, r) if r.map(_.price).sum > 100 => emp
      }
      .toList
      .sorted
But yeah, you're right.

There are no comments on this comment yet.