Fix Haddock markup (#7)

This commit is contained in:
Janek Spaderna 2022-06-26 09:07:49 +02:00 committed by GitHub
parent 927cdcb9fd
commit 73c2f2b1fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ import Error.Diagnose.Style as Export
--
-- This marker is output in red in an error report, and yellow in a warning report.
--
-- - A 'Error.Diagnose.Report.Where' marker contains additional information/provides context to the error/warning report.
-- - A 'Error.Diagnose.Report.Where' marker contains additional information\/provides context to the error\/warning report.
-- For example, it may underline where a given variable @x@ is bound to emphasize it.
--
-- This marker is output in blue.

View File

@ -113,7 +113,7 @@ addFile ::
Diagnostic msg ->
-- | The path to the file.
FilePath ->
-- | The content of the file as a single string, where lines are ended by @\n@.
-- | The content of the file as a single string, where lines are ended by @\\n@.
String ->
Diagnostic msg
addFile (Diagnostic reports files) path content =