Skip to content

Internal identifiers creeping into :show bindings

When binding variables the "new" way, or defining typeclasses, some things that are better left unseen manage to creep into the :show Bindings list.

<pre class="wiki">
GHCi, version 8.1.20160725: http://www.haskell.org/ghc/  :? for help
&gt; :show bindings
&gt; x = ()
&gt; :show bindings
<b>$trModule :: GHC.Types.Module = _</b>
x :: () = _
&gt; class Foo a
&gt; :show bindings
x :: () = _
class Foo a
<b>$tcFoo :: GHC.Types.TyCon = _
$tc'C:Foo :: GHC.Types.TyCon = _
$trModule :: GHC.Types.Module = _</b>
</pre>
Trac metadata
Trac field Value
Version 8.1
Type Bug
TypeOfFailure OtherFailure
Priority low
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information