Hacker News new | ask | show | jobs
by misja111 1562 days ago
Huh, Data.Text has been around forever. And the datatype that you will find in almost any Haskell tutorial is still 'String'.

It is really a pain that any beginner in the Haskell language is learning what seems the obvious datatype for strings, i.e. String, and later has to unlearn that again.

1 comments

It’s been a while since I worked with Haskell. What’s the issue with Strings, I’m guessing it must be Unicode-related?
Strings are linked lists of characters, so they perform quite badly