Generic collection library for Swift