diff options
-rw-r--r-- | src/Haddock/Backends/Hoogle.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Haddock/Backends/Hoogle.hs b/src/Haddock/Backends/Hoogle.hs index aafd63a5..6033db11 100644 --- a/src/Haddock/Backends/Hoogle.hs +++ b/src/Haddock/Backends/Hoogle.hs @@ -88,6 +88,8 @@ ppExport (ExportDecl decl dc _) = doc dc ++ f (unL decl) where f (TyClD d@TyData{}) = ppData d f (TyClD d@ClassDecl{}) = ppClass d + f (ForD (ForeignImport name typ _)) = [out $ SigD $ TypeSig name typ] + f (ForD (ForeignExport name typ _)) = [out $ SigD $ TypeSig name typ] f decl = [out decl] ppExport _ = [] |