diff options
Diffstat (limited to '4lib/krebs/listset.nix')
-rw-r--r-- | 4lib/krebs/listset.nix | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/4lib/krebs/listset.nix b/4lib/krebs/listset.nix deleted file mode 100644 index 3aae22f..0000000 --- a/4lib/krebs/listset.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ lib, ... }: - -with lib; - -rec { - # listset k v = set k [v] - - # insert : k -> v -> listset k v -> listset k v - insert = name: value: set: - set // { ${name} = set.${name} or [] ++ [value]; }; -} |