From ef40a8621fc4fdd6e197da52ab3f28b2b6e4c31d Mon Sep 17 00:00:00 2001 From: sterni Date: Thu, 4 Mar 2021 22:15:18 +0100 Subject: feat(users/sterni/nix/fun): make lrs read left to right completely Change-Id: I57d290f770bc1d6bd88a46924889b919d68201e3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2588 Tested-by: BuildkiteCI Reviewed-by: sterni --- users/sterni/nix/fun/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'users/sterni/nix') 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 -- cgit 1.4.1