Skip to content

[Question][Hw1][Problem 4] Ambiguity in exception #12

@ShinWonho

Description

@ShinWonho

Hi, I think there is some ambiguity in raising an exception.
Add (Div (Int 1, Int 0), X)
In this case, it is ambiguous to raise Invalid_argument or Division_by_zero because no specific evaluation order is given.
In those ambiguous cases, is there any specific order of evaluation or any exception is permitted?

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