Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
27145351
Commit
27145351
authored
Oct 13, 2019
by
Takenobu Tani
Committed by
Marge Bot
Oct 13, 2019
Browse files
Add GHCi help message for :def! and :: commands
parent
1eda9f28
Pipeline
#11344
failed with stages
in 357 minutes and 48 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
ghc/GHCi/UI.hs
View file @
27145351
...
...
@@ -299,8 +299,9 @@ defFullHelpText =
" :complete <dom> [<rng>] <s> list completions for partial input string
\n
"
++
" :ctags[!] [<file>] create tags file <file> for Vi (default:
\"
tags
\"
)
\n
"
++
" (!: use regex instead of line number)
\n
"
++
" :def <cmd> <expr>
define command :<cmd> (later defined command has
\n
"
++
" :def
[!]
<cmd> <expr> define command :<cmd> (later defined command has
\n
"
++
" precedence, ::<cmd> is always a builtin command)
\n
"
++
" (!: redefine an existing command name)
\n
"
++
" :doc <name> display docs for the given name (experimental)
\n
"
++
" :edit <file> edit file
\n
"
++
" :edit edit last module
\n
"
++
...
...
@@ -326,6 +327,7 @@ defFullHelpText =
" :type +v <expr> show the type of <expr>, with its specified tyvars
\n
"
++
" :unadd <module> ... remove module(s) from the current target set
\n
"
++
" :undef <cmd> undefine user-defined command :<cmd>
\n
"
++
" ::<cmd> run the builtin command
\n
"
++
" :!<command> run the shell command <command>
\n
"
++
"
\n
"
++
" -- Commands for debugging:
\n
"
++
...
...
Marge Bot
💬
@marge-bot
mentioned in merge request
!1939 (closed)
·
Oct 13, 2019
mentioned in merge request
!1939 (closed)
mentioned in merge request !1939
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment