News for hackers. Stuff that matters.
Re:Parsing with Haskell by johnday on Thursday July 07, 2022 @08:47AM (#32013353)
In fact, I would recommend against enabling OverloadedStrings while writing parsers, since it can be confusing. Some bright spark added an IsString instance for IsString a => Parser a, meaning that "Hello" is a parser for the string "Hello". It also means that `many "Hello"` will parse "HelloHelloHello", which is kinda cool but confusing for a beginner.

There are no comments on this comment yet.