libiserv exports Lib module, which is too generic name.
See https://mail.haskell.org/pipermail/ghc-devs/2021-October/020320.html for a confusing error.
I'd expect this to not work
% ghci-9.0.1
GHCi, version 9.0.1: https://www.haskell.org/ghc/ :? for help
Loaded GHCi configuration from /home/phadej/.ghci
Prelude> :m +Lib
Prelude Lib> :browse
serv ::
Bool
-> Lib.MessageHook
-> GHCi.Message.Pipe
-> (forall a. IO a -> IO a)
-> IO ()
Either Lib
module in libiserv
should be named differently, or hidden as other-modules
if its internal.
EDIT: My ghci configuration only restores the prompt behavior to show imported modules, how handy! i.e. it's :set prompt "%s> "