git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
fix a compile error
commit7b326f4fed7d08229f600887192b42ccae1f41f7 authorHarry Garrood <harry@garrood.me> dateMon 22 Dec 2014, 02:28 (12 years ago) parentaae5678
1 file changed+1−1
psc-docs/Main.hs+1−1
psc-docs/Main.hs+1−1
@@ -75,7 +75,7 @@ renderModules showHierarchy ms = do
7575 mapM_ (renderModule showHierarchy) ms
7676
7777renderModule :: Bool -> P.Module -> Docs
78−renderModule showHierarchy mdl =
78+renderModule showHierarchy mdl@(P.Module moduleName _ exps) =
7979 let ds = P.exportedDeclarations mdl
8080 hasTypes = any isTypeDeclaration ds
8181 hasTypeclasses = any isTypeClassDeclaration ds