Y
Hacker News
new
|
ask
|
show
|
jobs
by
icecube
3386 days ago
It has to due with history. Traditionally, other languages (such as Scala, Haskell and ML) with statically typed tuples start at index 1 instead of 0.
1 comments
e28eta
3386 days ago
Thanks! It stood out to me because Swift uses 0-based, and I suppose I either forgot or never used it in my brief exposure to Haskell & ML.
link