From 66e87ae1ac00d54df5024033fda5d08db99177a4 Mon Sep 17 00:00:00 2001 From: panne 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 49f31c2..30175ae 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 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) @@ -757,6 +757,20 @@ hp2ps [flags] [<file>[.hp]] + + + Generate colour output. + + + + + + + Ignore marks. + + + + Print out usage information. -- 1.7.10.4