From: simonpj Date: Tue, 18 May 1999 15:20:51 +0000 (+0000) Subject: [project @ 1999-05-18 15:20:51 by simonpj] X-Git-Tag: Approximately_9120_patches~6196 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=8e16c2d2700d4910e30f122a0e5618ae18570016;p=ghc-hetmet.git [project @ 1999-05-18 15:20:51 by simonpj] Simon's Prelude changes ~~~~~~~~~~~~~~~~~~~~~~~ [The real commit preceded this, but had the stupid message "msg_prel" because I used "cvs commit -m" instead of "cvs commit -F"] Prelude is split into more modules new are: PrelEnum, PrelShow, PrelNum removed: PrelBounded (all in PrelEnum now) PrelEither (all in PrelMaybe now) There are also a lot of RULES, of course. --- diff --git a/ghc/lib/std/PrelBase.lhs b/ghc/lib/std/PrelBase.lhs index 2b90eef..314be3b 100644 --- a/ghc/lib/std/PrelBase.lhs +++ b/ghc/lib/std/PrelBase.lhs @@ -133,7 +133,7 @@ The rest of the prelude list functions are in PrelList. ---------------------------------------------- -- foldr/build/augment ---------------------------------------------- - + \begin{code} foldr :: (a -> b -> b) -> b -> [a] -> b foldr _ z [] = z