git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
fix hlint warning in parseImportDeclaration
commitafd4605dcbfe3710a8b9252b07a583fce8f18f62 authorBogdan Popa <popa.bogdanp@gmail.com> dateSat 16 Nov 2013, 23:49 (13 years ago) parentc502746
1 file changed+1−1
src/Language/PureScript/Parser/Declarations.hs+1−1
src/Language/PureScript/Parser/Declarations.hs+1−1
@@ -107,7 +107,7 @@ parseImportDeclaration = do
107107 idents <- P.sepBy1 parseIdent (lexeme $ indented *> P.char ',')
108108 lexeme $ indented *> P.char ')'
109109 return idents
110− let modulePath = (mkModulePath (ModulePath [head segments]) (tail segments))
110+ let modulePath = mkModulePath (ModulePath [head segments]) (tail segments)
111111 return $ ImportDeclaration modulePath idents
112112 where mkModulePath path (s:ss) = mkModulePath (subModule path s) ss
113113 mkModulePath path _ = path