4 ms·
You can make "foo" give you a literal ByteString instead of a [Char]. Use the OverloadedStrings GHC extension. You probably knew that already, though.
by tumult 16y ago
You can make "foo" give you a literal ByteString instead of a [Char]. Use the OverloadedStrings GHC extension. You probably knew that already, though.
- jrockway 16y agoYeah. I thought you were saying the entire concept was worthless or something. (Incidentally, I have used plain [Char] strings in some Haskell apps, and the performance has been fine. But really, all I do is get them from a char* and print them, so...)