Skip to content

Support ^ for StaticInt? #114

@ojwoodford

Description

@ojwoodford

Currently, the following code throws an error:

using Static
static(2) ^ static(3)

The desired/expected output is static(8). Likewise, 2 ^ static(3) and static(2) ^ 3 should both return 8::Int.

Is there any reason not to support ^ for StaticInt? If not, shall I create a PR to add it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions