Re: [swift-evolution] Divide & Conquer Algorithms

2017-04-18 Thread Xiaodi Wu via swift-evolution
I would like that feature too. Wouldn't this require Swift to have settled its concurrency model (which in turn would require settling ownership and borrowing)? On Tue, Apr 18, 2017 at 03:03 Jonathan Hull via swift-evolution < swift-evolution@swift.org> wrote: > I would like to see Swift gain so

[swift-evolution] Divide & Conquer Algorithms

2017-04-18 Thread Jonathan Hull via swift-evolution
I would like to see Swift gain something similar to Clojure’s Reducers Library. Basically this is somewhat similar to our Sequence, but for tree-based structures instead of sequential ones. It allows a series of algorithms that operate using a divide and conquer strategy, and it is easy to mas