about summary refs log tree commit diff
path: root/users/sterni
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2021-03-04T21·15+0100
committersterni <sternenseemann@systemli.org>2021-03-05T11·07+0000
commitef40a8621fc4fdd6e197da52ab3f28b2b6e4c31d (patch)
tree6a80a9a332974beead302cf4ca560f92031b7b7e /users/sterni
parent7af0fb10663009ab2a312c93198f5d83c7c5ff30 (diff)
feat(users/sterni/nix/fun): make lrs read left to right completely r/2268
Change-Id: I57d290f770bc1d6bd88a46924889b919d68201e3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2588
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'users/sterni')
-rw-r--r--users/sterni/nix/fun/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/sterni/nix/fun/default.nix b/users/sterni/nix/fun/default.nix
index a7d173eb94a4..a32b70a62b79 100644
--- a/users/sterni/nix/fun/default.nix
+++ b/users/sterni/nix/fun/default.nix
@@ -23,7 +23,7 @@ let
 
   # Compose a list of functions,
   # application is left to right
-  lrs = fs: x:
+  lrs = x: fs:
     builtins.foldl' (v: f: f v) x fs;
 
 in