Skip to content
Commit 84fe35f3 authored by Andreas Klöckner's avatar Andreas Klöckner Committed by Andreas Klöckner
Browse files

Towards grudge typing

This improves many aspects of typing in arraycontext:

- It improves type checking (and consistency) in the traversals.
  - It allows scalars consistently.
  - It adds some overloads for traversal functions.
  - It adds `rec_map_container`, which is simpler (and easier to type).
- It makes array containers recognizable to the type checker.
  This works via a heuristic, by having `__array_ufunc__ == None`.
- It adds more types in the base fake numpy and shifts
  some implementation aspects there.
parent 9f0934b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment