Skip to content

Commit

Permalink
Merge pull request #10494 from kquick/preproc_doc_fix_kwq1
Browse files Browse the repository at this point in the history
Update haddock example for recent changes.
  • Loading branch information
mergify[bot] authored Nov 1, 2024
2 parents 0fbb0db + 035c38b commit 9bc7dda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cabal/src/Distribution/Simple/PreProcess/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@ import qualified Text.PrettyPrint as Disp
-- > ppTestHandler =
-- > PreProcessor {
-- > platformIndependent = True,
-- > ppOrdering = \_ _ -> return,
-- > runPreProcessor = mkSimplePreProcessor $ \inFile outFile verbosity ->
-- > do info verbosity (inFile++" has been preprocessed to "++outFile)
-- > stuff <- readFile inFile
-- > writeFile outFile ("-- preprocessed as a test\n\n" ++ stuff)
-- > return ExitSuccess
-- > return ()
--
-- We split the input and output file names into a base directory and the
-- rest of the file name. The input base dir is the path in the list of search
Expand Down

0 comments on commit 9bc7dda

Please sign in to comment.