LINQ-like extensions for Swift