Skip to content

Properly escape character literals in Haddocks

Alec Theriault requested to merge harpocrates/ghc:haddock-char-esc into master

Character literals in Haddock should not be written as plain '\n' since single quotes are for linking identifiers. Besides, since we want the character literal to be monospaced, we really should use @\'\\n\'@.

[skip ci]

Merge request reports