News for hackers. Stuff that matters.
Re:Python List Comprehensions Explained Visually by akavi on Wednesday December 02, 2015 @06:46PM (#10666739)
I'd do the ruby version as:

    splits.flat_map do |(a, b)|
      alphabet.map{|c| a + b + c}
    end
Which feels pretty close to the list comprehension to my eyes.

There are no comments on this comment yet.