Slicing a tuple or popping the last element

Take a look at SubTuple here:

The answer to this is that tuple fields need to start with names starting from 0, so you need to rebuild the type with the field names being reindexed, so that they start from 0.

2 Likes