Skip to content

a'b ambiguous with a'[1,1] #43654

Open
Open
@zsoerenm

Description

@zsoerenm

Today I stumbled over this ambiguity:

a = [2, 1]
b = [1, 1]
a'b # outputs 3
a'[1, 1] # outputs 2

a'[1, 1] here is the first entry of a'.
What's the purpose of the syntax a'b instead of a' * b? Could the syntax a'b be removed to avoid this ambiguity?

Metadata

Metadata

Assignees

No one assigned

    Labels

    deprecationThis change introduces or involves a deprecationparserLanguage parsing and surface syntax

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions