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

Replacing a default operator with a custom operator, or another default operator #176

Open
tanish2k09 opened this issue Aug 3, 2020 · 0 comments

Comments

@tanish2k09
Copy link

First of all, thanks for the amazing library!

I'm trying to make an app that requires the ^ symbol to be defined as the exponent symbol so that 3 ^ 2 is 9, but the default operator ^ is defined as XOR.

The docs have content about creating custom operators and even operator aliases, but it doesn't say anything about being able to override the default operators completely. Is there a way to define ^ as exponent instead of **?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant