That file was written once in 2008 and never updated since, and let's just say that a lot of things have changed since Change-Id: I66b0c87ecbba6ca653470966c9514edb21882ca3
14 lines
323 B
Nix
14 lines
323 B
Nix
let
|
|
|
|
closure = builtins.genericClosure {
|
|
startSet = [{key = 80;}];
|
|
operator = {key, foo ? false}:
|
|
if builtins.lessThan key 0
|
|
then []
|
|
else [{key = builtins.sub key 9;} {key = builtins.sub key 13; foo = true;}];
|
|
};
|
|
|
|
sort = builtins.sort (a: b: builtins.lessThan a.key b.key);
|
|
|
|
in sort closure
|