I want write something like this
With[{x=1, y=x+1}, y]
and get 2 as an answer. What is the correct way to do this?
With[{x=1},With[{y=x+1}, y]]
LetL
With[{x=1},With[{y=x+1}, y]]or you can useLetLby Leonid Shifrin. – Henrik Schumacher May 31 '18 at 15:14