Mark Karpov

Results 220 comments of Mark Karpov

Looks like some kind of race condition where either cleaning up happens before the escape sequence is printed (too early) or it happens after everything is printed (too late).

I don't think so. If I understand correctly, it's the same as `sepBy` with the exception that separator is tried with `optionMaybe` and if it fails we just return accumulator...

I actually honestly don't understand how `cva2` is supposed to work. There is no `try` inside `optionMaybe` and so if spaces start to match, comma will be demanded and instead...

Here we go with Parsec: ``` The next big Haskell project is about to start! λ> let cva1 = (char 'a' `sepBy` (spaces *> char ',' *> spaces)) :: Parser...

I'm happy with the first commit, which I adjusted a bit to apply the new helper to both caching of cabal files and `.ormolu` files, however I don't think we...

Eh, I like splitting the code in two branches (old and new) even less. Let's apply d91bbd064511fee913bd348fc413ba5a820e8927 and keep the rest on the shelf for a while until we decide...

This sounds like a good idea, but there is the general problem with re-ordering things because whenever we do that the stream of comments does not get automatically reordered accordingly...

I'm not sure it would be convenient. People usually use only `zap-to-char` or `zap-up-to-char` and it becomes part of their mental model what this "zap" command does. The thing you...

I added a link to an example of the syntax for multiple patterns.