From 06688e3ab8e8a38a38534ae4b4a841fd7089c49c Mon Sep 17 00:00:00 2001 From: Jeff Hykin Date: Sat, 25 May 2024 13:17:47 -0400 Subject: [PATCH] fix logical or --- nodes/1_lib/source/detangled/1_foundation.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nodes/1_lib/source/detangled/1_foundation.nix b/nodes/1_lib/source/detangled/1_foundation.nix index 892a91c..0ea4dfa 100644 --- a/nodes/1_lib/source/detangled/1_foundation.nix +++ b/nodes/1_lib/source/detangled/1_foundation.nix @@ -1,5 +1,5 @@ # -# foundation contains functions that only depend on builtins or themself +# foundation contains functions that only depend on builtins or themself (no inter-dependence or ordering) # let loadStatic = (folder: @@ -402,7 +402,7 @@ let : 2\. Function argument */ - or = x: y: x || y; + logicalOr = x: y: x || y; /** boolean “and” @@ -580,7 +580,7 @@ in const = const; pipe = pipe; concat = concat; - or = or; + logicalOr = logicalOr; # cant use "or" directly because it's a keyword and = and; xor = xor; bitNot = bitNot;