Skip to content

Drop covariance? #1

@snowleopard

Description

@snowleopard

As pointed by @mechkg, we can drop covariance and obtain a more type-safe interface as a result.

Do we want to keep covariance? I'm tempted to drop it both for the sake of simplification and for better type safety of the graph transformation interface.

As a comparison, List is covariant, whereas Set is not.

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