Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 5, 2012
  1. Santiago Pastorino

    Revert "Use flat_map { } instead of map {}.flatten"

    spastorino authored
    This reverts commit abf8de8.
    We should take a deeper look to those cases flat_map doesn't do deep
    flattening.
    
    irb(main):002:0> [[[1,3], [1,2]]].map{|i| i}.flatten
    => [1, 3, 1, 2]
    irb(main):003:0> [[[1,3], [1,2]]].flat_map{|i| i}
    => [[1, 3], [1, 2]]
  2. Santiago Pastorino
Something went wrong with that request. Please try again.