Implemented outplace differently (#12599)
* implemented sugar.outplace; refs #12550 * Different approach, allows for chaining
This commit is contained in:
parent
6958248efe
commit
144ad36974
2 changed files with 50 additions and 0 deletions
|
|
@ -36,6 +36,11 @@
|
|||
`CountTable.take`
|
||||
|
||||
|
||||
- Added `sugar.outplace` for turning in-place algorithms like `sort` and `shuffle` into
|
||||
operations that work on a copy of the data and return the mutated copy. As the existing
|
||||
`sorted` does.
|
||||
|
||||
|
||||
## Library changes
|
||||
|
||||
- `asyncdispatch.drain` now properly takes into account `selector.hasPendingOperations`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue