This story is unavailable.

#6 Filter list of numbers

For Swift3, we can use this extension below.

extension Array {
func anotherPartitionBy(fu: (Array.Iterator.Element)->Bool)->
([Array.Iterator.Element],[Array.Iterator.Element]){
return (self.filter(fu),self.filter({!fu($0)}))
}
}

let part4 = [82, 58, 76, 49, 88, 90].anotherPartitionBy{$0 < 60}
part4 // ([58, 49], [82, 76, 88, 90])
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.