[Browse] Add 'from:' to parents

This commit is contained in:
Nikolay Yakimov 2016-05-11 16:58:46 +03:00
parent 32b18d915b
commit 5a02721fc8

View File

@ -107,7 +107,7 @@ showExport opt minfo e = do
(" :: " ++ typeName) `justIf` optBrowseDetailed opt
let parent = do
thing <- fmap getOccString $ tyResult >>= tyThingParent_maybe
(" -- " ++ thing) `justIf` optBrowseParents opt
(" -- from:" ++ thing) `justIf` optBrowseParents opt
return $ case concat $ catMaybes [sig, parent] of
[] -> Nothing
x -> Just x