lib.modules: beta reduce mergeOptionDecls for free

This commit is contained in:
Eman Resu
2026-06-03 14:32:22 -04:00
committed by Eman Resu
parent 2abe9edb0b
commit be514e8dad

View File

@@ -1038,7 +1038,7 @@ let
: 2\. Function argument
*/
mergeOptionDecls =
loc: opts:
loc:
foldl'
(
res: opt:
@@ -1103,8 +1103,7 @@ let
declarations = [ ];
declarationPositions = [ ];
options = [ ];
}
opts;
};
/**
Merge all the definitions of an option to produce the final