mirror of
https://github.com/NixOS/nix-pills
synced 2024-09-19 04:00:13 -04:00
a96a0a35cc
If a user follows along in the repl, the error won't occur as in section 4.6 the number 4 is assigned to `b`. To make this slightly less confusing and have the error appear as the user is following along we have to use a new variable.
3 lines
89 B
Plaintext
3 lines
89 B
Plaintext
nix-repl> let a = (let c = 3; in c); in c
|
|
error: undefined variable `c' at (string):1:31
|