Commit 9490f5ce authored by simonmar's avatar simonmar
Browse files

[project @ 2003-01-06 14:15:38 by simonmar]

Add a handy hint for finding the correct fully-qualified original
names for entities in .hi-boot files.
parent e8812a63
......@@ -618,7 +618,15 @@ newtype TA = MkTA GHC.Base.Int
particular, most <literal>Prelude</literal> entities aren't
actually defined in the <literal>Prelude</literal> (see for
example <literal>GHC.Base.Int</literal> in the above
example).</para>
example). HINT: to find out the fully-qualified name for
entities in the <literal>Prelude</literal> (or anywhere for
that matter), try using GHCi's
<literal>:info</literal> command, eg.</para>
<programlisting>Prelude> :m -Prelude
> :i IO.IO
-- GHC.IOBase.IO is a type constructor
newtype GHC.IOBase.IO a
...</programlisting>
</listitem>
<listitem>
<para>Only <literal>data</literal>, <literal>type</literal>,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment