Hacker News new | ask | show | jobs
by exyi 1544 days ago
no, it's only for IO. It lead to way too much breakage if they changed how the string behaves.

I generally like the idea to use UTF-8 strings, but if they didn't want to break string indexing, the indexing would take O(str.length)...