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: ``` {-# OPTIONS_HADDOCK magic-hash #-} ``` so that `haddock` would itself add `-XMagicHash` when processing the module. Thanks!
I have a module where the code does not rely on
-XMagicHash, but the haddock comments do (eg-- | See 'foo#' for more details).cabal haddockdoesn't resolve those names unless I add a-XMagicHashto the compilation. Thus, I'd prefer to write:so that
haddockwould itself add-XMagicHashwhen processing the module. Thanks!