Ticket #8193: 0001-Document-kind-in-ghci-built-in-help.patch

File 0001-Document-kind-in-ghci-built-in-help.patch, 1.2 KB (added by rwbarton, 8 months ago)
  • ghc/InteractiveUI.hs

    From a286af567ee6d5f66781ecc80738e74592161a25 Mon Sep 17 00:00:00 2001
    From: Reid Barton <rwbarton@gmail.com>
    Date: Wed, 28 Aug 2013 23:00:47 -0400
    Subject: [PATCH] Document :kind! in ghci built-in help
    
    ---
     ghc/InteractiveUI.hs |    3 ++-
     1 files changed, 2 insertions(+), 1 deletions(-)
    
    diff --git a/ghc/InteractiveUI.hs b/ghc/InteractiveUI.hs
    index 91648a3..a8a2e6b 100644
    a b defFullHelpText = 
    246246  "   :info[!] [<name> ...]       display information about the given names\n" ++ 
    247247  "                               (!: do not filter instances)\n" ++ 
    248248  "   :issafe [<mod>]             display safe haskell information of module <mod>\n" ++ 
    249   "   :kind <type>                show the kind of <type>\n" ++ 
     249  "   :kind[!] <type>             show the kind of <type>\n" ++ 
     250  "                               (!: also print the normalised type)\n" ++ 
    250251  "   :load [*]<module> ...       load module(s) and their dependents\n" ++ 
    251252  "   :main [<arguments> ...]     run the main function with the given arguments\n" ++ 
    252253  "   :module [+/-] [*]<mod> ...  set the context for expression evaluation\n" ++