[GHC] #8113: Cannot override ghci builtin commands with :def[!]
GHC
ghc-devs at haskell.org
Fri Aug 23 09:24:11 UTC 2013
#8113: Cannot override ghci builtin commands with :def[!]
-------------------------------------+------------------------------------
Reporter: duncan | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: GHCi | Version: 7.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by hvr):
Fyi, while looking into implementing a `:builtin <cmd> [args]`-like
facility I noticed it's already there, by using `::<cmd>`:
{{{
:def <cmd> <expr> define command :<cmd> (later defined
command has
precedence, ::<cmd> is always a builtin
command)
}}}
So this leaves the issue of `:def!` not doing what it's expected to do
(and probably to add documentation about the `::<cmd>` feature to the GHC
user guide, as I didn't see it mentioned there).
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8113#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list