4 ms·
Alas, Haskell's built-in strings are horrible. Anything serious would use Data.Text or Data.Bytestring (depending on the situation). Unfortunately, most of th
by eru 4y ago
Alas, Haskell's built-in strings are horrible. Anything serious would use Data.Text or Data.Bytestring (depending on the situation).
Unfortunately, most of the language and libraries got written before reasonable strings were available. So you still see lots of things taking linked-list strings.
- lumost 4y agoRust could probably benefit from a collections style reintroduction of String and maybe one or two other common data structures. To simplify the language. It’s not so much a language problem as a rough implementation of a hyper common data structure.