From: simonmar Date: Mon, 18 Mar 2002 09:47:35 +0000 (+0000) Subject: [project @ 2002-03-18 09:47:35 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~2252 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=18dd979bb49c5106cb8378c01712a034f175b6fe;p=ghc-hetmet.git [project @ 2002-03-18 09:47:35 by simonmar] PrelGHC ==> GHC.Prim, for what it's worth (this documentation is quite out of date). --- diff --git a/ghc/docs/users_guide/primitives.sgml b/ghc/docs/users_guide/primitives.sgml index a627b21..aa68d27 100644 --- a/ghc/docs/users_guide/primitives.sgml +++ b/ghc/docs/users_guide/primitives.sgml @@ -2,11 +2,11 @@ Unboxed types and primitive operations - PrelGHC module + GHC.Prim module This chapter defines all the types which are primitive in Glasgow Haskell, and the operations provided for them. You bring - them into scope by importing module PrelGHC. + them into scope by importing module GHC.Prim. Note: while you really can use this stuff to write fast code, we generally find it a lot less painful, and more satisfying in the @@ -93,7 +93,7 @@ counterpart—we saw a threefold speedup on one example. -Unboxed tuples aren't really exported by PrelGHC, +Unboxed tuples aren't really exported by GHC.Prim, they're available by default with . An unboxed tuple looks like this: