News for hackers. Stuff that matters.
Re:Why it’s hard for programmers to write a program to flatt... by nolite on Friday February 24, 2017 @02:10PM (#13726659)
$ irb 2.3.1 :001 > [1,[2,3], [4, [5,6]]].flatten

=> [1, 2, 3, 4, 5, 6]

BOOM!

There are no comments on this comment yet.