10.5 Fundamentals - Forcing
- Lazy evaluation means arguments only evaluated when used
- “[can] lead to a real head-scratcher of a bug”
- Only applies if passing object as argument
- Here argument
2
evaluated when function called
So use force()
! (Unless you want it to change with the x
in the parent environment)