Hacker News new | past | comments | ask | show | jobs | submit login

The subscript concept itself is nothing new, it is basically just a generalized element accessor, typically for collection types, arrays, dictionaries, etc.

https://docs.swift.org/swift-book/documentation/the-swift-pr...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: