> It would be interesting to see how far Swift’s syntax can be pushed to create 
> a cleaner syntax for queries. I’m thinking of C#’s LINQ, which is really 
> sweet. Some LINQ stuff can be replicated in Swift, I believe, but there are 
> parts of it that rely on a super-powerful C# feature where a function can 
> receive a parameter in the form of a parse tree of the expression. (Sort of 
> like LISP macros.)

Back in the Swift 1 days, I experimented with writing NSPredicates in Swift: 
<https://github.com/brentdax/PrediKit>

-- 
Brent Royal-Gordon
Architechies

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to