3 ms·
In Haskell strings are lists of characters (https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-String.html https://hackage.haskell.org/package/base-4.9.
by unwind 10y ago
In Haskell strings are lists of characters (https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-String.html https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-S...). I hear not everyone is thrilled with the performance implications. :)
Also not a Haskell programmer, and really not meaning to criticize. Haskell seems awesome and I should learn it some day.
- jerf 10y agoJust so people know, there are arrays used for text manipulation in Haskell in the Data.Text library, and bytestrings in the ByteString library. The language as specified does indeed have strings in a linked list of numbers, but if you even remotely care about performance you don't use those, and most libraries don't either nowadays.
- unwind 10y agoThanks! I guess I was kind of hoping for someone with actual knowledge to fill in the details.