Commit b1aa338f authored by simonpj's avatar simonpj
Browse files

[project @ 2003-03-20 08:52:55 by simonpj]

Correct file names in RULES documentation
parent 6662ef4f
...@@ -4318,7 +4318,7 @@ If you add <option>-dppr-debug</option> you get a more detailed listing. ...@@ -4318,7 +4318,7 @@ If you add <option>-dppr-debug</option> you get a more detailed listing.
<listitem> <listitem>
<para> <para>
The defintion of (say) <function>build</function> in <FileName>PrelBase.lhs</FileName> looks llike this: The defintion of (say) <function>build</function> in <FileName>GHC/Base.lhs</FileName> looks llike this:
<programlisting> <programlisting>
build :: forall a. (forall b. (a -> b -> b) -> b -> b) -> [a] build :: forall a. (forall b. (a -> b -> b) -> b -> b) -> [a]
...@@ -4336,9 +4336,9 @@ in the RHS of the <literal>INLINE</literal> thing. I regret the delicacy of thi ...@@ -4336,9 +4336,9 @@ in the RHS of the <literal>INLINE</literal> thing. I regret the delicacy of thi
<listitem> <listitem>
<para> <para>
In <filename>ghc/lib/std/PrelBase.lhs</filename> look at the rules for <function>map</function> to In <filename>libraries/base/GHC/Base.lhs</filename> look at the rules for <function>map</function> to
see how to write rules that will do fusion and yet give an efficient see how to write rules that will do fusion and yet give an efficient
program even if fusion doesn't happen. More rules in <filename>PrelList.lhs</filename>. program even if fusion doesn't happen. More rules in <filename>GHC/List.lhs</filename>.
</para> </para>
</listitem> </listitem>
......
Supports Markdown
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