X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=ghc%2Fdocs%2Fusers_guide%2Fprimitives.sgml;fp=ghc%2Fdocs%2Fusers_guide%2Fprimitives.sgml;h=aa68d27fd5b54650cbdbcdaf826e84f20deb29da;hb=18dd979bb49c5106cb8378c01712a034f175b6fe;hp=a627b21895a875ea9b0bf32a2f0cd6ec6ecd9e61;hpb=cabac059f16560ffed23a504a1d793d108dc6653;p=ghc-hetmet.git 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: