From cda8ee60d185afeec58f71724097828e98fc6059 Mon Sep 17 00:00:00 2001 From: micmarsh Date: Sat, 7 Mar 2015 16:44:33 -0500 Subject: [PATCH] stable utf8 lib, fix pattern match warning --- Text/Feed/Constructor.hs | 4 +++- feed.cabal | 5 ++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Text/Feed/Constructor.hs b/Text/Feed/Constructor.hs index dd57d17..d12a663 100644 --- a/Text/Feed/Constructor.hs +++ b/Text/Feed/Constructor.hs @@ -134,7 +134,9 @@ withFeedItems is fe = Feed.Types.RSSFeed f -> Feed.Types.RSSFeed f{rssChannel=(rssChannel f){rssItems=[]}} Feed.Types.RSS1Feed f -> Feed.Types.RSS1Feed - f{feedItems=[]}) + f{feedItems=[]} + Feed.Types.XMLFeed xml -> Feed.Types.XMLFeed + xml{elContent=[]}) is newItem :: FeedKind -> Feed.Types.Item diff --git a/feed.cabal b/feed.cabal index 06787fa..c03eebf 100644 --- a/feed.cabal +++ b/feed.cabal @@ -1,5 +1,5 @@ Name: feed -Version: 0.3.9.2 +Version: 0.3.9.3 License: BSD3 License-file: LICENSE Category: Text @@ -46,6 +46,5 @@ library old-locale >= 1, old-time >= 1, xml >= 1.2.6, - utf8-string, + utf8-string == 0.3, time -