[Browse] Option to show symbol parents

E.g. Nothing is a constructor of Maybe, so it has
parent Maybe.

This is useful for completion, e.g. with `(..)` imports
This commit is contained in:
Nikolay Yakimov
2016-03-14 21:16:20 +03:00
parent 346d0868e0
commit 8e33dbd88d
4 changed files with 20 additions and 6 deletions

View File

@@ -255,6 +255,10 @@ browseArgSpec = CmdBrowse
$$ long "detailed"
<=> short 'd'
<=> help "Print symbols with accompanying signature"
<*> switch
$$ long "parents"
<=> short 'p'
<=> help "Print symbols parents"
<*> switch
$$ long "qualified"
<=> short 'q'