infinisil changed the topic of #nix-lang to: Channel for discussing Nix as a language - - Logs:
__monty__ has joined #nix-lang
__monty__ has quit [Quit: leaving]
__monty__ has joined #nix-lang
clever has joined #nix-lang
<infinisil> __monty__: Btw, nix-instantiate has the --parse option you can use to see the result of the parsing stage
<infinisil> E.g. nix-instantiate --parse -E 'x: with x; f a b c'
<infinisil> (x: (with x; (((f a) b) c)))
<infinisil> Which indicates the associativity of everything
<__monty__> Very useful.
<infinisil> Also, {^_^} uses --parse for checking definitions
<infinisil> > foo = throw "10"
<{^_^}> foo defined
<infinisil> > foo
<{^_^}> 10
__monty__ has quit [Quit: leaving]