Skip to content

Trait-based dispatch #247

Open
Open
@YingboMa

Description

@YingboMa

Using the standard Julia type hierarchy limits people to do <: Number when defining a type, but this is not generally doable for generic codes. I wonder if we can use isreal, iscomplex, isscalar, ismatrix, etc to do the dispatch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    designRequires some desgin before changes are madepending-clear-needWe are not certain we need this. So waiting for evidence to be presentedspeculativefairly out there ideas for consideration in longer term

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions