Skip to content

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

@tanish2k09

Description

@tanish2k09

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 **?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions