add collect macro (#12708)

* add collect macro

* Add to changelog
This commit is contained in:
b3liever 2019-11-22 15:40:50 +02:00 • committed by Andreas Rumpf
commit 5bb6c67a45
2 changed files with 98 additions and 1 deletions

View file

@ -39,7 +39,7 @@
- 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.
- Added `sugar.collect` that does comprehension for seq/set/table collections.
## Library changes