summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authorTakenobu Tani <takenobu.hs@gmail.com>2019-09-27 20:16:00 +0900
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-09-30 22:41:35 -0400
commit97811ef5e9e9922184fda5af894188e947a4c799 (patch)
treebbe57e2ca02e140aa3c7a2468dc1cd2aba498502 /ghc
parent6a1700aa069a028bfdebb2b29778c5eac7ba27df (diff)
downloadhaskell-97811ef5e9e9922184fda5af894188e947a4c799.tar.gz
Add help message for GHCi :instances command
This commit updates GHCi's help message for GHC 8.10.
Diffstat (limited to 'ghc')
-rw-r--r--ghc/GHCi/UI.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ghc/GHCi/UI.hs b/ghc/GHCi/UI.hs
index 87204824d1..e70992f667 100644
--- a/ghc/GHCi/UI.hs
+++ b/ghc/GHCi/UI.hs
@@ -308,6 +308,7 @@ defFullHelpText =
" :help, :? display this list of commands\n" ++
" :info[!] [<name> ...] display information about the given names\n" ++
" (!: do not filter instances)\n" ++
+ " :instances <type> display the class instances available for <type>\n" ++
" :issafe [<mod>] display safe haskell information of module <mod>\n" ++
" :kind[!] <type> show the kind of <type>\n" ++
" (!: also print the normalised type)\n" ++