Ruby's "combination" in Swift.