From: simonmar Date: Mon, 6 Jan 2003 14:15:38 +0000 (+0000) Subject: [project @ 2003-01-06 14:15:38 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~1306 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=9490f5ceb4cdb840eb94bdfc53fe593e130a42c3;p=ghc-hetmet.git [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. --- diff --git a/ghc/docs/users_guide/separate_compilation.sgml b/ghc/docs/users_guide/separate_compilation.sgml index 51cad70..1678413 100644 --- a/ghc/docs/users_guide/separate_compilation.sgml +++ b/ghc/docs/users_guide/separate_compilation.sgml @@ -618,7 +618,15 @@ newtype TA = MkTA GHC.Base.Int particular, most Prelude entities aren't actually defined in the Prelude (see for example GHC.Base.Int in the above - example). + example). HINT: to find out the fully-qualified name for + entities in the Prelude (or anywhere for + that matter), try using GHCi's + :info command, eg. +Prelude> :m -Prelude +> :i IO.IO +-- GHC.IOBase.IO is a type constructor +newtype GHC.IOBase.IO a +... Only data, type,