Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lunasophia opened this issue Aug 12, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@lunasophia
Copy link

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.

@printfn
Copy link
Owner

printfn commented Aug 12, 2024

Thanks for the suggestion, I agree this would be a nice feature :)

@printfn printfn added the enhancement New feature or request label Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants