From: simonmar Date: Wed, 3 Jul 2002 08:30:27 +0000 (+0000) Subject: [project @ 2002-07-03 08:30:27 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~1900 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=c074ba4abf0b9f08f4fd345e3903ac4b4af8c951;p=ghc-hetmet.git [project @ 2002-07-03 08:30:27 by simonmar] Direct the punter to GHC.Exts rather than GHC.Prim. --- diff --git a/ghc/docs/users_guide/primitives.sgml b/ghc/docs/users_guide/primitives.sgml index f84794a..0b94852 100644 --- a/ghc/docs/users_guide/primitives.sgml +++ b/ghc/docs/users_guide/primitives.sgml @@ -2,11 +2,11 @@ Unboxed types and primitive operations - GHC.Prim module + GHC.Exts 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 GHC.Prim. + them into scope by importing module GHC.Exts. 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 GHC.Prim, +Unboxed tuples aren't really exported by GHC.Exts, they're available by default with . An unboxed tuple looks like this: