diff --git a/src/GHCMod/Options/Help.hs b/src/GHCMod/Options/Help.hs index 2a81e16..8cd56ef 100644 --- a/src/GHCMod/Options/Help.hs +++ b/src/GHCMod/Options/Help.hs @@ -35,7 +35,7 @@ para :: String -> Doc para = PP.fillSep . map PP.text . words append :: Doc -> MyDocM (Maybe Doc) a -append s = modify' m >> return undefined +append s = modify m >> return undefined where m :: Maybe Doc -> Maybe Doc m Nothing = Just s