We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider the following snippet:
{-# LANGUAGE OverloadedStrings #-} module Main where import Text.Trifecta import Data.ByteString.Char8() main :: IO () main = parseTest p "hello" where p = do string "h" (_ :~ s) <- spanned $ string "ello" warnAt [] "Fix this" $ render $ Fixit s "should be OMFGLOLOL"
When run it gives this output:
$ runghc trifecta.hs (interactive):1:2: warning: Fix this hello<EOF> ~~~~ should be> ()
You would normally expect the fixit string to be as long as necessary.
The text was updated successfully, but these errors were encountered:
I'm still open to improving this. It just needs the rendering logic to be smart enough to take into account those longer lines.
Sorry, something went wrong.
No branches or pull requests
Consider the following snippet:
When run it gives this output:
You would normally expect the fixit string to be as long as necessary.
The text was updated successfully, but these errors were encountered: