From fe4ef271af13ae86aef515b55a667e6255081896 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 3 Dec 2014 17:21:53 +0900 Subject: [PATCH] Include.hs needs conduit 1.1+ to build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Data/Yaml/Include.hs:35:21: Couldn't match type ‘()’ with ‘Event’ Expected type: ConduitM Event Event m1 () Actual type: Source m1 Event In a stmt of a 'do' block: go (cfp : seen) includeFile $= CL.filter (`notElem` irrelevantEvents) In the expression: do { let includeFile = takeDirectory cfp unpack (decodeUtf8 f); go (cfp : seen) includeFile $= CL.filter (`notElem` irrelevantEvents) } In a case alternative: EventScalar f (UriTag "!include") _ _ -> do { let includeFile = ...; go (cfp : seen) includeFile $= CL.filter (`notElem` irrelevantEvents) } --- yaml.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yaml.cabal b/yaml.cabal index a1ec24f..5f34918 100644 --- a/yaml.cabal +++ b/yaml.cabal @@ -41,7 +41,7 @@ library build-depends: base >= 4 && < 5 , transformers >= 0.1 , bytestring >= 0.9.1.4 - , conduit >= 1.0.11 && < 1.3 + , conduit >= 1.1.0 && < 1.3 , resourcet >= 0.3 && < 1.2 , aeson >= 0.5 , containers