X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2Flibraries.vsgml;h=9e666b5e268ed0c5b914636de4f1e66bfdd6dff8;hb=438596897ebbe25a07e1c82085cfbc5bdb00f09e;hp=89180d08a1b643065e1f0e8365ac7e86c4fb989a;hpb=1661883615fba5df23643c82ab85952c0022edc0;p=ghc-hetmet.git diff --git a/ghc/docs/users_guide/libraries.vsgml b/ghc/docs/users_guide/libraries.vsgml index 89180d0..9e666b5 100644 --- a/ghc/docs/users_guide/libraries.vsgml +++ b/ghc/docs/users_guide/libraries.vsgml @@ -1,5 +1,5 @@ % -% $Id: libraries.vsgml,v 1.2 1998/08/25 18:07:57 sof Exp $ +% $Id: libraries.vsgml,v 1.3 1998/12/02 13:20:40 simonm Exp $ % % GHC Prelude and Libraries. % @@ -43,45 +43,106 @@ GHC's prelude contains the following non-standard extensions: @fromInt@ method in class @Num@: It's there. Converts from an @Int@ to the type. -@toInt@ method in class @Integral@: Converts from type type -to an @Int@. +@toInt@ method in class @Integral@: Converts from Integral +type to an @Int@. GHC also internally uses a number of modules that begin with the -string @Prel@: for this reason, we don't recommend that you use any -module names beginning with @Prel@ in your own programs. The @Prel@ -modules are always available: in fact, you can get access to several -extensions this way (for some you might need to give the -@-fglasgow-exts@-fglasgow-exts option flag). +string @Prel@Prel module prefix: for this reason, we +don't recommend that you use any module names beginning with @Prel@ in +your own programs. The @Prel@ modules are always available: in fact, +you can get access to several extensions this way (for some you might +need to give the @-fglasgow-exts@-fglasgow-exts option +flag). The module @PrelGHC@: really primitive stuff