3 ms·
I would not call Clojure 1-indexed though because of 'first', it uses 0-indexing for list, vectors, and arrays.
by synthc 9y ago
I would not call Clojure 1-indexed though because of 'first', it uses 0-indexing for list, vectors, and arrays.
- grzm 9y agoTo be clear, I’m not calling Clojure 1-indexed: I provided “nth” and “first” as examples of contrasting 0- and 1-based conventions; in this case within the same language.