[GHC] #11676: Preserve name of original function in worker name
GHC
ghc-devs at haskell.org
Fri Mar 4 17:16:23 UTC 2016
#11676: Preserve name of original function in worker name
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner:
Type: feature | Status: new
request |
Priority: low | Milestone:
Component: Compiler | Version: 7.10.3
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: Other
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
Currently it's not uncommon to find workers named, e.g., `$wa` while
perusing Core. When you find one of these you need to then go searching
for its associated wrapper to discover which function the worker
implements. Then you need to work hard to keep this piece of information
in your mental state. This is unfortunate and makes reading Core
unnecessarily hard.
Why not name the worker of `thisIsAFunction` something like, e.g.,
`thisIsAFunction$wa`?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11676>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list