From b402430cf24ae71c178731a0241f89cc7d1b3e98 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 18 Mar 2017 20:16:40 -0400 Subject: more old ghc fixes --- src/Propellor/Property/List.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Propellor/Property/List.hs b/src/Propellor/Property/List.hs index 11d201b1..568de00b 100644 --- a/src/Propellor/Property/List.hs +++ b/src/Propellor/Property/List.hs @@ -53,7 +53,7 @@ combineProperties desc (Props ps) = combineSatisfy :: [ChildProperty] -> Result -> Propellor Result combineSatisfy [] rs = return rs combineSatisfy (p:ps) rs = do - r <- maybe (pure NoChange) catchPropellor (getSatisfy p) + r <- maybe (return NoChange) catchPropellor (getSatisfy p) case r of FailedChange -> return FailedChange _ -> combineSatisfy ps (r <> rs) -- cgit v1.2.3