When it comes to lists there are good, short and nice sounding names for most parts of list
- Head
- Tail
- Last – somewhat commonly used
Currently I am doing a lots of TypeScript type manipulation and often I need to get all the starting elements of list/tuple and I don’t really have good nice name for this, is there anything that is agreed upon for is less common case like in Head/Tail instance? I currently name it as Initial but don’t really like it