> On Feb 19, 2017, at 21:19, Xiaodi Wu <xiaodi...@gmail.com> wrote: > > This is very, very interesting. Thank you so much for the text. > > If I understand your take correctly, the benefits of `pure` in Swift would be > contingent on how pervasively it can be used (as it's the composability of > pure functions that gives it exponential value). And, based on your > discussion, very few functions in Swift would be compiler-provably pure [...]
I think this might, at least partly, be because we can't restrict generic parameters to be value types. - Dave Sweeris
_______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution