git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Remove warning about non-exhaustive pattern (is this the right way?)
commitfc43760a8a121723ca6fd1244a9e5976b4cb8716 authorAntoine R. Dumont <antoine.romain.dumont@gmail.com> dateFri 31 Oct 2014, 19:27 (12 years ago) parent2e2d88a
1 file changed+1
psci/Main.hs+1
psci/Main.hs+1
@@ -374,6 +374,7 @@ handleBrowse moduleName = do
374374 findType envNames m@(_, mIdent) = (mIdent, M.lookup m envNames)
375375 showType :: (P.Ident, Maybe (P.Type, P.NameKind, P.NameVisibility)) -> String
376376 showType (mIdent, Just (mType, _, _)) = show mIdent ++ " :: " ++ P.prettyPrintType mType
377+ showType _ = undefined
377378
378379-- |
379380-- Takes a value and prints its kind