Hacker News new | ask | show | jobs
by ghjm 1397 days ago
Maybe there's already a way to do this, but it seems to me that it would be useful to be able to refer to the answer on a previous line, like the Ans key on a TI calculator. So:

2 + 3 (=4)

Ans * 2 (=8)

1 comments

x = 2 + 3

x * 2