Covers error conditions for: - Invalid argument types (not an attrset) - Missing required attributes (startSet, operator) - Type mismatches (startSet/operator not correct type) - Element validation (elements not attrsets, missing key attribute) - Key comparison errors (incompatible types, uncomparable types) - Operator return value validation (not a list)
5 lines
82 B
Nix
5 lines
82 B
Nix
builtins.genericClosure {
|
|
startSet = [ { nokey = 1; } ];
|
|
operator = x: [ ];
|
|
}
|