Conversation

Oh.... hmmm. Would be a pretty funny definition of coerce. It's probably better to think of it as "the compiler deduces `[] :: List Char` based on how it is used in conjunction with `("" ==)`". Thought the original post was amusing despite that though!
1
10
Show replies
Show replies
String actually turns out to be an amazingly good representation for text in many situations, though with multi codepoint glyphs like some emojis we’re missing a few algorithms we need like proper reversing instead of just list reverse. Definitely slow and inefficient though
2