I just made the exact same mistake (again) as described in this 4 year old thread:
dropLast() been renamed (to eg
I mean, according to the API naming guidelines and the resulting "feel" of the language,
.dropLast() would be a mutating method that removes the last element, ie something very similar to the existing methods
Are there other similarly bad names in the Standard Library?