[GHC] #3084: alow macros to redefine builtin GHCi commands
GHC
trac at galois.com
Wed Mar 11 08:59:39 EDT 2009
#3084: alow macros to redefine builtin GHCi commands
-----------------------------+----------------------------------------------
Reporter: phercek | Owner:
Type: feature request | Status: new
Priority: normal | Component: GHCi
Version: 6.10.1 | Severity: normal
Keywords: | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-----------------------------+----------------------------------------------
I would like to be able to redefine the builtin GHCi commands. The idea is
that when searching for a command the user defined macros would be
searched first and only then the built-in commands would be searched. If
user wants to invoke a built-in command regardless of user defined
commands he/she would need to start it with two colons (instead of one).
It is an user interface change which may break some scripts, but it would
allow to provide different default behavior.[[BR]]
For example:
* when I use my GHCi extensions I want all my ":continue" commands to be
actually something like ":x :continue"
* it would allow to specify different order of searching for abbreviated
commands as the default one
* it would allow to specify different default switches for builtin
commands (when they have any)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3084>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list