Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sharkdp
on March 20, 2017
|
parent
|
context
|
favorite
| on:
Insect: a fast, repl-style scientific calculator
Thank you for the feedback. You can use `ans` to refer to the last result:
> 5+20 25 > ans+10 35
cjwoodall
on March 20, 2017
|
next
[–]
Python and a few other REPLs seem to use _ to capture the previous result. Could be a useful shorthand (not to complicated your design at all)
socialist_coder
on March 20, 2017
|
prev
[–]
That should be in the docs!
sharkdp
on March 20, 2017
|
parent
[–]
Done, thanks!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: