core: move top level def type vars into PrimitiveStore
#418
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#418
Loading…
Reference in New Issue
No description provided.
Delete Branch "refactor-primstore"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
TypeVar
soption_type_tvar
,ndarray_ndims_tvar
, andndarray_dtype_tvar
are now captured byPrimitiveStore
. This is to eliminate code that does, say,let ndarray_ndims = *ndarray_params.iter().nth(1).unwrap()
, which is incoherent.unpack_ndarray_var_tys
tounpack_ndarray_params
after (1.).df1bd467fc
to31cd6c3792
Please break the formatting/clippy changes unrelated to the refactoring to a separate commit.
@ -50,2 +52,4 @@
pub exception: Type,
pub option: Type,
/// The contained type of an `Option`
pub option_type_tvar: TypeVar,
I think it might be better if we just have
OptionType
andNDArrayType
, effectively becoming something like31cd6c3792
to439a9977e0
439a9977e0
to4a81ca08d2
Force-pushed to (hopefully) remove all clippy changes
34b278a641
to6a4ea1a1b3
Closing for now as I will take over this and make changes directly.
Pull request closed