From 66e87ae1ac00d54df5024033fda5d08db99177a4 Mon Sep 17 00:00:00 2001 From: panne <unknown> Date: Wed, 19 Apr 2000 09:59:55 +0000 Subject: [PATCH] [project @ 2000-04-19 09:59:55 by panne] Corrected typo in nfib example (/ => `div`). Added description for hp2ps's -c/-y flags. --- ghc/docs/users_guide/profiling.sgml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/ghc/docs/users_guide/profiling.sgml b/ghc/docs/users_guide/profiling.sgml index 49f31c223c0d..30175aed34d0 100644 --- a/ghc/docs/users_guide/profiling.sgml +++ b/ghc/docs/users_guide/profiling.sgml @@ -131,7 +131,7 @@ MAIN MAIN 0 0.0 0.0 0 1 <programlisting> main = print (f 25 + g 25) f n = nfib n -g n = nfib (n/2) +g n = nfib (n `div` 2) nfib n = if n < 2 then 1 else nfib (n-1) + nfib (n-2) </programlisting> @@ -756,6 +756,20 @@ hp2ps [flags] [<file>[.hp]] </listItem> </varListEntry> + <varListEntry> + <term><Option>-c</Option></Term> + <listItem> + <para>Generate colour output.</para> + </listItem> + </varListEntry> + + <varListEntry> + <term><Option>-y</Option></Term> + <listItem> + <para>Ignore marks.</para> + </listItem> + </varListEntry> + <varListEntry> <term><Option>-?</Option></Term> <listItem> -- GitLab