X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=compiler%2Futils%2FUtil.lhs;h=1b2a44dea1fa5c1ad9ddee6fe80437d8bc29ee02;hb=e761a777f2440ca1b8d8b40848cc5aa30d889ff6;hp=62e2edac922781aa4ac506ebd6b9ff1bf6c7357a;hpb=d78ab147ec3d8c3b06b6e922bed4cd9837c9c797;p=ghc-hetmet.git diff --git a/compiler/utils/Util.lhs b/compiler/utils/Util.lhs index 62e2eda..1b2a44d 100644 --- a/compiler/utils/Util.lhs +++ b/compiler/utils/Util.lhs @@ -405,16 +405,6 @@ isn'tIn msg x ys # endif /* DEBUG */ \end{code} -foldl1' was added in GHC 6.4 - -\begin{code} -#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ < 604 -foldl1' :: (a -> a -> a) -> [a] -> a -foldl1' f (x:xs) = foldl' f x xs -foldl1' _ [] = panic "foldl1'" -#endif -\end{code} - %************************************************************************ %* * \subsubsection[Utils-Carsten-mergesort]{A mergesort from Carsten}