diff options
author | Silvan Mosberger <contact@infinisil.com> | 2021-12-02 17:46:44 +0100 |
---|---|---|
committer | Silvan Mosberger <contact@infinisil.com> | 2021-12-02 21:54:51 +0100 |
commit | 90700736c7744b97ab69a4fadcd56fa242ec617f (patch) | |
tree | fe1915e61e4d367dd393fc4c45021c9fcf7ac226 /doc/manual | |
parent | 2ff71b021379a2c9bbdcb789a93cdc585b3520ca (diff) |
Introduce builtins.groupBy primop
This function is very useful in nixpkgs, but its implementation in Nix
itself is rather slow due to it requiring a lot of attribute set and
list appends.
Diffstat (limited to 'doc/manual')
-rw-r--r-- | doc/manual/src/release-notes/rl-next.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/manual/src/release-notes/rl-next.md b/doc/manual/src/release-notes/rl-next.md index 26c7d2cce..a6b22dfa7 100644 --- a/doc/manual/src/release-notes/rl-next.md +++ b/doc/manual/src/release-notes/rl-next.md @@ -5,3 +5,6 @@ * `nix develop` now has a flag `--unpack` to run `unpackPhase`. * Lists can now be compared lexicographically using the `<` operator. + +* New built-in function: `builtins.groupBy`, with the same functionality as + Nixpkgs' `lib.groupBy`, but faster. |