Skip to content

Add type annotations to functions? #179

@eriknw

Description

@eriknw

This would probably be straightforward to do. For functions that accept matrix expressions and can auto-compute, I would probably want a MatrixType that is a union of e.g. Matrix, TransposedMatrix, MatrixInfixExpr, MatrixExpression, and MatrixIndexExpr.

If we add type annotations, I would want to run mypy in CI.

What do y'all think? I wouldn't mind seeing this added, but I'm unlikely to add it any time soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionDiscussing a topic with no specific actions yetgood first issueClearly described and easy to accomplish. Good for beginners to the project.hygieneImprove code quality and reduce maintenance overheadlowpriority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions