The finder was reporting a hidden package when it meant a hidden
module, and vice versa (looks like a typo).
Right found
| null found_exposed -- Found, but with no exposed copies
-> return (NotFound { fr_paths = [], fr_pkg = Nothing
Right found
| null found_exposed -- Found, but with no exposed copies
-> return (NotFound { fr_paths = [], fr_pkg = Nothing
- , fr_pkgs_hidden = mod_hiddens, fr_mods_hidden = pkg_hiddens
+ , fr_pkgs_hidden = pkg_hiddens, fr_mods_hidden = mod_hiddens
, fr_suggestions = [] })
| [(pkg_conf,_)] <- found_exposed -- Found uniquely
, fr_suggestions = [] })
| [(pkg_conf,_)] <- found_exposed -- Found uniquely