I have a collection of users:
case class User(id: Int, locationId: Int)
val users: List[User] = ....
val locationIds = List(1231,34323,3452)
How can I find all users that are in the locationIds?
val usersInLocation = users.map(_.locationId == ??)
How about: