Y
Hacker News
new
|
ask
|
show
|
jobs
by
virtualwhys
3499 days ago
Dunno, it's fairly obvious what you're working with, being explicit doesn't buy that much (for me at any rate).
val persons = names.map(Person.apply). filter(_.isValid)