Skip to content

A unary "-" operator is required alongside To_Int and To_Real to handle negative numbers #6

@liampwll

Description

@liampwll

Currently setting a Yeison Int or Real to a negative value is not possible using a numeric literal as X : Yeison.Int := -3; is parsed as X : Yeison.Int := - To_Int (3);.

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