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 <sternenseemann@systemli.org>
This commit is contained in:
		
							parent
							
								
									7af0fb1066
								
							
						
					
					
						commit
						ef40a8621f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue