Mark Karpov

Results 220 comments of Mark Karpov

@Chobbes, Megaparsec is less than one month old, it's not finished yet, although it's already does many things much better than Parsec, see `CHANGELOG.md` and closed issues (some of them...

@Chobbes, I've started work on this (and related) issues in Megaparsec. See branch `new-lexer`. Here is my comment in dedicated issue thread: https://github.com/mrkkrp/megaparsec/issues/5. You could try out our lexer and...

@Chobbes, Megaparsec 4.0.0 is ready and it provides solution now. It'll will be tagged and released tomorrow I think. You can clone the repo and try it.

See mrkkrp/megaparsec#106 for a similar discussion (I think it's applicable to Parsec too).

I believe you are looking for "inverted sections", see https://mustache.github.io/mustache.5.html

I'd accept a PR fixing this, but I myself do not use multiple cursors and do not have time to experiment with this.

All that said, this looks fishy to me. It is true that in the original input `-- * Connections` is not a valid Haddock according to GHC, but I think...

Okay, now I see what @amesgen meant. Somewhat surprisingly `-- $intro` ends up in two different places, as a Haddock and as an annotation. We use the first but in...

@brandonchinn178 I don't really see a good reason to introduce an exception for how a multiline function application is formatted in this case. I'd value consistency more even when a...