[GHC] #12525: Internal identifiers creeping into :show bindings
GHC
ghc-devs at haskell.org
Tue Aug 23 02:54:39 UTC 2016
#12525: Internal identifiers creeping into :show bindings
-------------------------------------+-------------------------------------
Reporter: mniip | Owner:
Type: bug | Status: new
Priority: low | Milestone:
Component: GHCi | Version: 8.1
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: Runtime
Unknown/Multiple | performance bug
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
When binding variables the "new" way, or defining typeclasses, some things
that are better left unseen manage to creep into the `:show Bindings`
list.
{{{#!html
<pre class="wiki">
GHCi, version 8.1.20160725: http://www.haskell.org/ghc/ :? for help
> :show bindings
> x = ()
> :show bindings
<b>$trModule :: GHC.Types.Module = _</b>
x :: () = _
> class Foo a
> :show bindings
x :: () = _
class Foo a
<b>$tcFoo :: GHC.Types.TyCon = _
$tc'C:Foo :: GHC.Types.TyCon = _
$trModule :: GHC.Types.Module = _</b>
</pre>
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12525>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list