From 6bb584a8ecca7d44c58466b0ca7819c51d106c8b Mon Sep 17 00:00:00 2001 From: Peter Berry Date: Mon, 18 Jun 2012 23:45:52 +0200 Subject: [PATCH] import (<>) with GHC >= 7.0.4 --- yesod/scaffold/Import.hs.cg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/yesod/scaffold/Import.hs.cg b/yesod/scaffold/Import.hs.cg index 641de382..13e396a3 100644 --- a/yesod/scaffold/Import.hs.cg +++ b/yesod/scaffold/Import.hs.cg @@ -15,7 +15,11 @@ module Import import Prelude hiding (writeFile, readFile, head, tail, init, last) import Yesod hiding (Route(..)) import Foundation +#if __GLASGOW_HASKELL__ < 704 import Data.Monoid (Monoid (mappend, mempty, mconcat)) +#else +import Data.Monoid (Monoid (mappend, mempty, mconcat), (<>)) +#endif import Control.Applicative ((<$>), (<*>), pure) import Data.Text (Text) import Settings.StaticFiles