A Set Type in Swift
Nate Cook writed afull featured Set Type in Swift.
This are the things that I really like about some languages. The ability to extend the language itself with its own tools.
Look how easy is to implement a full featured Set type in Swift and how is really integrated in the language with features like subscripting and literal creation.
If you liked this article please consider supporting me