From a3c307070c0831782e30cf37c1819ad5fae52640 Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Thu, 15 Mar 2012 22:14:57 +0100 Subject: [PATCH] removed QQ hacks from yesod-sitemap --- yesod-sitemap/Yesod/Sitemap.hs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/yesod-sitemap/Yesod/Sitemap.hs b/yesod-sitemap/Yesod/Sitemap.hs index 75f5b095..1d8fedcf 100644 --- a/yesod-sitemap/Yesod/Sitemap.hs +++ b/yesod-sitemap/Yesod/Sitemap.hs @@ -1,5 +1,4 @@ {-# LANGUAGE QuasiQuotes #-} -{-# LANGUAGE CPP #-} {-# LANGUAGE OverloadedStrings #-} --------------------------------------------------------- -- @@ -57,12 +56,7 @@ data SitemapUrl url = SitemapUrl } template :: [SitemapUrl url] -> HtmlUrl url -template urls = -#if __GLASGOW_HASKELL__ >= 700 - [xhamlet| -#else - [$xhamlet| -#endif +template urls = [xhamlet| $forall url <- urls