:def should redefine too (ghci commands)
To redefine a function f, one needs to first undef it. This is not a nice interface(or the error message should be improved to "to redefine a command you first need to use the :undef command. Do you want this? [yes/no]?").
Suggested feature: :def can also redefine commands.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.9 |
| Type | FeatureRequest |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | GHCi |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | Unknown |
| Architecture | Unknown |