From b0ed373e78a86d1c85cc4ef348a26b7e402d68d1 Mon Sep 17 00:00:00 2001 From: Eric Mertens Date: Fri, 19 Oct 2007 01:14:18 +0200 Subject: Operations.hs: flip maybe id is fromMaybe darcs-hash:20071018231418-b49f3-87484165c6fc9cf2aa6b961e5d923c2bb12a608a --- Operations.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Operations.hs b/Operations.hs index 1dad386..ba8d109 100644 --- a/Operations.hs +++ b/Operations.hs @@ -389,7 +389,7 @@ instance ReadableLayout a => LayoutClass Select a where | Just (JumpToLayout x) <- fromMessage m = switchl (j x) | Just ReleaseResources <- fromMessage m = do -- each branch has a different type mlls' <- mapM (flip handleMessage m) (l:ls) - let lls' = zipWith (flip maybe id) (l:ls) mlls' + let lls' = zipWith fromMaybe (l:ls) mlls' return (Just (Select lls')) where rls [] = [] -- cgit v1.2.3