Skip to content

Too many overloaded symbols error #393

@FissoreD

Description

@FissoreD
type none (X -> o) -> list X -> o.

main :- (X = none; X = some 2).

In the code above, the type checker complains that there are too many
types that could be assigned to X. However, the term
X = some 2 fixes the type of X, removing the
ambiguity.

Should the type checker be more clever?

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