Commit 18dd979b authored by simonmar's avatar simonmar
Browse files

[project @ 2002-03-18 09:47:35 by simonmar]

PrelGHC ==> GHC.Prim, for what it's worth (this documentation is quite
out of date).
parent cabac059
......@@ -2,11 +2,11 @@
<sect1 id="primitives">
<title>Unboxed types and primitive operations</title>
<indexterm><primary>PrelGHC module</primary></indexterm>
<indexterm><primary>GHC.Prim module</primary></indexterm>
<para>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 <literal>PrelGHC</literal>.</para>
them into scope by importing module <literal>GHC.Prim</literal>.</para>
<para>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&mdash;we saw a threefold speedup on one example.
</title>
<para>
Unboxed tuples aren't really exported by <literal>PrelGHC</literal>,
Unboxed tuples aren't really exported by <literal>GHC.Prim</literal>,
they're available by default with <option>-fglasgow-exts</option>. An
unboxed tuple looks like this:
</para>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment