1. At the end of local variables
let a = 1; b = 2; in a + b result: 3
{ a = 1; b = 2; } result: { a = 1; b = 2; }
with pkgs; coreutils result: (the coreutils attribute in the pkgs attribute set)
assert a != null; a result: (the value of a)
1. At the end of local variables
2. At the end of each attributes in an attribute set (a.k.a. dictionaries or key-value pairs) 3. with expressions 4. Assertions Now, you'll never be confused again.