I was shared this weird behavior in Nix:
❯ nix repl
Nix 2.31.3
Type :? for help.
nix-repl> let { x = "howdy"; body = x; }
"howdy"
nix-repl> let { body = "howdy"; }
"howdy"
What’s the purpose of this behavior?
I was shared this weird behavior in Nix:
❯ nix repl
Nix 2.31.3
Type :? for help.
nix-repl> let { x = "howdy"; body = x; }
"howdy"
nix-repl> let { body = "howdy"; }
"howdy"
What’s the purpose of this behavior?
Legacy let syntax.