News for hackers. Stuff that matters.
Re:Dictionary and Set Improvements in Swift 4.0 by Groxx on Monday October 09, 2017 @06:41PM (#15438032)
stuff like this always makes me miss Ruby's even-shorter-hand version though :)

  groceriesByDepartment.mapValues(&:count)  # not ruby, but meh

There are no comments on this comment yet.