[GHC] #4002: Base new top-level names on the binder the code
originated from (if any)
GHC
cvs-ghc at haskell.org
Thu Apr 22 07:29:07 EDT 2010
#4002: Base new top-level names on the binder the code originated from (if any)
---------------------------------+------------------------------------------
Reporter: tibbe | Owner:
Type: feature request | Status: new
Priority: normal | Component: Compiler
Version: 6.12.2 | Keywords:
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure: None/Unknown
Patch: 0 |
---------------------------------+------------------------------------------
Generated top-level names currently starts with `a` followed by some
unique string. It would be nice if it the new name was based on the binder
the code originated from, making the Core easier to read.
In ticket #3693 batterseapower made such a change in an unrelated patch.
http://hackage.haskell.org/trac/ghc/attachment/ticket/3693/StackTraces.dpatch
If someone has a good suggestion for naming I could try to implement this.
How about changing `<a>_<unique string>` to `<originating binder>_<unique
string>`?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4002>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list