Open nfrisby opened 1 year ago
I have a module where the code does not rely on -XMagicHash, but the haddock comments do (eg -- | See 'foo#' for more details).
-XMagicHash
-- | See 'foo#' for more details
cabal haddock doesn't resolve those names unless I add a -XMagicHash to the compilation. Thus, I'd prefer to write:
cabal haddock
{-# OPTIONS_HADDOCK magic-hash #-}
so that haddock would itself add -XMagicHash when processing the module. Thanks!
haddock
I have a module where the code does not rely on
-XMagicHash
, but the haddock comments do (eg-- | See 'foo#' for more details
).cabal haddock
doesn't resolve those names unless I add a-XMagicHash
to the compilation. Thus, I'd prefer to write:so that
haddock
would itself add-XMagicHash
when processing the module. Thanks!