From c074ba4abf0b9f08f4fd345e3903ac4b4af8c951 Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 3 Jul 2002 08:30:27 +0000 Subject: [PATCH] [project @ 2002-07-03 08:30:27 by simonmar] Direct the punter to GHC.Exts rather than GHC.Prim. --- ghc/docs/users_guide/primitives.sgml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: -- 1.7.10.4