Swift: Wrapping up the day with my favorite construct du jour

Unlike enums, option sets don’t know how to print themselves. (It’s brand new in 2.0 for enums, so give option sets some time.) Here’s my favorite workaround from today. You see it in line 7. It’s beautiful because this for-in-where enumerates, filters, transforms, and collects all at the same time.