Skip to content

✨start ArrayNamespace #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft

Conversation

nstarman
Copy link
Collaborator

relies on #34

@nstarman nstarman added this to the v2021-12-0.0 milestone Aug 22, 2025
Signed-off-by: nstarman <[email protected]>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These empty files snuck in. I'll remove when rebasing after #34 is in.

@nstarman
Copy link
Collaborator Author

nstarman commented Aug 22, 2025

@jorenham @NeilGirdhar pinging for your thoughts on the structure of ArrayNamespace.
The idea is to have a DoesX protocol for each function, then a HasX that says that a namespace has that function, thenArrayNamespace is just the intersection of all those HasX.
This enables granular typing of each function, the minimum supporting namespace, and of course the full Array API namespace behemoth.

https://github.com/data-apis/array-api-typing/pull/56/files/c65c5d54c358dbda72af916eea89b17943a08835..a17798c2db03bed6633253977ab51108211d0809

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant