Skip to content

print (2x) (x + 2) as 2x (x + 2) #72

Open
@evykassirer

Description

@evykassirer

print (2x) (x + 2) as 2x (x + 2)

I don't think 2x needs parens - it's already seen as a unit imo - and I think it's like another 'being aware of coefficients' thing and that the brain really does parse it differently

You noted that for this change we'd want to make sure we can maintain the invariant that parse(mathStr) == parse(print(parse(mathStr)))

(this isn't super high priority for me since it doesn't come up that much)

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