Sha256: bf32a151a63fcd07c6459a8fac10f242bfd75f3a2d4b493df9761254a40d93c8
Contents?: true
Size: 213 Bytes
Versions: 113
Compression:
Stored size: 213 Bytes
Contents
object FlattenArray { def flatten(l: List[Any]): List[Any] = (l match { case Nil => Nil case (h:List[_])::tail => flatten(h):::flatten(tail) case h::tail => h::flatten(tail) }).filter(_ != null) }
Version data entries
113 entries across 113 versions & 1 rubygems