fend icon indicating copy to clipboard operation
fend copied to clipboard

RFE: Optional implicit `_` at start of input line if it starts with an operator

Open lunasophia opened this issue 6 months ago • 1 comments

I've been exploring fend as a Unixy replacement for the Apple platform calculator Soulver. I bring up Soulver not for the natural language parsing / notebook features, but rather a feature it has for inputting calculations. In Soulver, you can implicitly refer to the result of the previous calculation if you start a new line with an operator.

Consider the following Soulver session:

3 + 5 # 8
* 2 # 16

I know that I can do that with _ in fend, but the implicit result in Soulver helps maintain the "calculator" metaphor and it fits my brain better. Pocket calculators, and every GUI calculator, all work this way.

lunasophia avatar Aug 12 '24 02:08 lunasophia