treewide: fix or-as-identifier

Lix will soon warn, and in the future, error when `or` is used as an
identifier. This commit fix those cases.
This commit is contained in:
Justin !
2025-12-31 14:36:40 -05:00
parent e1405b568f
commit 511bf56650
3 changed files with 3 additions and 3 deletions

View File

@@ -110,7 +110,7 @@ let
const
pipe
concat
or
"or"
and
xor
bitAnd

View File

@@ -433,7 +433,7 @@ rec {
else if all isAttrs list then
foldl' lib.mergeAttrs { } list
else if all isBool list then
foldl' lib.or false list
foldl' lib."or" false list
else if all isString list then
lib.concatStrings list
else if all isInt list && all (x: x == head list) list then

View File

@@ -197,7 +197,7 @@ in
: 2\. Function argument
*/
or = x: y: x || y;
"or" = x: y: x || y;
/**
boolean and