Skip to content

BB-38: No domain mismatch check if argument is not used #22

Open
@mcmillan03

Description

@mcmillan03

The FIRST and SECOND operators only rely on the pattern, not the values, of one of their inputs. So no typecasting need be done, and there need not be any check for type compatibility. This change would allow many algorithms to operate on many different kinds of matrices, with no typecasting. For example, a BFS algorithm can work on any user defined type, if it uses these operators in its semiring.

Currently the spec requires a type compatibility check, which prohibits this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions