From: Simon Marlow Date: Thu, 5 Mar 2009 14:00:14 +0000 (+0000) Subject: add final newlines X-Git-Tag: 2009-03-13~20 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=8ffd91b6102f4ad3111cabdf6bdb1998f257887f add final newlines My Windows build has started complaining about lacking final newlines, I'm not entirely sure why. --- 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 }