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 | 1106 | October 9, 2018 | |
| A unified type of `Tuple` and `Vector` | 4 | 727 | September 21, 2022 | |
| Can i declare struct with one type or enother using || | 2 | 472 | July 8, 2019 | |
| Strange behavior of union of types | 23 | 803 | March 2, 2023 | |
| Transform `Tuple{Union, NonUnion, Union, ...}` to `Union{Tuple{NonUnion, NonUnion, NonUnion, ...}, ...}` | 4 | 366 | March 5, 2020 |