8 lines
127 B
Nix
8 lines
127 B
Nix
|
with builtins;
|
||
|
let fn = y: vs:
|
||
|
if vs == [] then null else
|
||
|
if head vs != null then head vs else
|
||
|
y y (tail vs);
|
||
|
in
|
||
|
fn fn
|