Scala Cookbook

11.24. Adding Elements to a Set Problem You want to add elements to a mutable set, or create a new set by adding elements to an immutable set. Solution Mutable … - Selection from Scala Cookbook [Book]