3 ms·
What's the problem? A string in Haskell is a list of chars[1]. So you can construct a string by consing chars to an empty list. Or is there something else you o
by kryptiskt 14y ago
What's the problem? A string in Haskell is a list of chars[1]. So you can construct a string by consing chars to an empty list. Or is there something else you object to?
[1] Which incidentally is a reason to avoid using it for anything serious. Text is the better representation of text, and ByteString is better for everything else.