5 ms·
Minor comment from a Scala fan - on that last line you could have used: happyLast.count(_ == true) instead of: happyLast.filter(x=>x).size
by lgieron 15y ago
Minor comment from a Scala fan - on that last line you could have used:
happyLast.count(_ == true)
instead of:
happyLast.filter(x=>x).size