[Git][ghc/ghc][wip/T13869] in progress
Jade (@Jade)
gitlab at gitlab.haskell.org
Mon Jan 22 18:55:44 UTC 2024
Jade pushed to branch wip/T13869 at Glasgow Haskell Compiler / GHC
Commits:
727e1f5e by Jade at 2024-01-22T18:31:41+01:00
in progress
- - - - -
1 changed file:
- ghc/GHCi/UI.hs
Changes:
=====================================
ghc/GHCi/UI.hs
=====================================
@@ -2285,9 +2285,12 @@ modulesLoadedMsg ok mods reload = do
none_loaded = null mods
reload_failed = reload && none_loaded
+ msg_prefix
+ | reload_failed = Just "no modules to be reloaded"
+ | none_loaded = Just "unloaded all modules"
+ | otherwise = Nothing
+
get_msg show_loaded_mods
- | reload_failed = pure $ text "no modules to be reloaded"
- | none_loaded = pure $ text "unloaded all modules"
| show_loaded_mods = do
mod_names <- mapM mod_name mods
pure $ text "modules loaded:" <+> hsep (punctuate comma mod_names)
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/727e1f5e0d6cc262ab96d3be775c74f7b8015cee
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/727e1f5e0d6cc262ab96d3be775c74f7b8015cee
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240122/4a9606b1/attachment-0001.html>
More information about the ghc-commits
mailing list