From a930cabd5d71026968d225e6f217522cc9006f30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Tue, 18 Oct 2022 22:52:02 -0300 Subject: [PATCH] remove unused functions --- user/sway.nix | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/user/sway.nix b/user/sway.nix index 8e395af..f83e1aa 100644 --- a/user/sway.nix +++ b/user/sway.nix @@ -61,16 +61,6 @@ in { mergeAttrsSet = lib.foldAttrs (n: _: n) { }; forEachMerge = list: func: mergeAttrsSet (lib.forEach list func); - - # same as imap0 but reversed inputs - iforEach0 = (list: func: lib.imap0 func list); - - # Usefull for translating an imperative foreach into declarative attrset creation - # iforEach0mergeAttrsSet ["val1" "val2"] (i: v: { - # ${i} = v; - # }) - # Ouput: {val1 = 1; val2 = 2;} - iforEach0mergeAttrsSet = list: func: mergeAttrsSet (iforEach0 list func); in { enable = true; config = {