mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-12-25 05:26:47 +02:00
2e8fd4c5cd
This fixes the quadratic behaviour of concatStrings/concatStringsSep in Nixpkgs.
8 lines
202 B
Nix
8 lines
202 B
Nix
with builtins;
|
|
|
|
[ (concatStringsSep "" [])
|
|
(concatStringsSep "" ["foo" "bar" "xyzzy"])
|
|
(concatStringsSep ", " ["foo" "bar" "xyzzy"])
|
|
(concatStringsSep ", " ["foo"])
|
|
(concatStringsSep ", " [])
|
|
]
|