You could make a new type, parametrised by the actual type of the hierarchy of tuples, and then dispatch on the base type.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Recursive type? | 1 | 1105 | October 9, 2018 | |
| A unified type of `Tuple` and `Vector` | 4 | 722 | September 21, 2022 | |
| Can i declare struct with one type or enother using || | 2 | 468 | July 8, 2019 | |
| Strange behavior of union of types | 23 | 787 | March 2, 2023 | |
| Transform `Tuple{Union, NonUnion, Union, ...}` to `Union{Tuple{NonUnion, NonUnion, NonUnion, ...}, ...}` | 4 | 363 | March 5, 2020 |