From 8ffd91b6102f4ad3111cabdf6bdb1998f257887f Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Thu, 5 Mar 2009 14:00:14 +0000 Subject: [PATCH] add final newlines My Windows build has started complaining about lacking final newlines, I'm not entirely sure why. --- compiler/ghci/RtClosureInspect.hs | 2 +- compiler/utils/MonadUtils.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/ghci/RtClosureInspect.hs b/compiler/ghci/RtClosureInspect.hs index a003fc3..d448793 100644 --- a/compiler/ghci/RtClosureInspect.hs +++ b/compiler/ghci/RtClosureInspect.hs @@ -1178,4 +1178,4 @@ sizeofTyCon = primRepSizeW . tyConPrimRep (|.|) :: (a -> Bool) -> (a -> Bool) -> a -> Bool -(f |.| g) x = f x || g x \ No newline at end of file +(f |.| g) x = f x || g x diff --git a/compiler/utils/MonadUtils.hs b/compiler/utils/MonadUtils.hs index 3c4e386..4ddd4ea 100644 --- a/compiler/utils/MonadUtils.hs +++ b/compiler/utils/MonadUtils.hs @@ -137,4 +137,4 @@ foldlM = foldM -- | Monadic version of foldr foldrM :: (Monad m) => (b -> a -> m a) -> a -> [b] -> m a foldrM _ z [] = return z -foldrM k z (x:xs) = do { r <- foldrM k z xs; k x r } \ No newline at end of file +foldrM k z (x:xs) = do { r <- foldrM k z xs; k x r } -- 1.7.10.4