diff options
author | Eric Mertens <emertens@galois.com> | 2007-10-19 01:14:18 +0200 |
---|---|---|
committer | Eric Mertens <emertens@galois.com> | 2007-10-19 01:14:18 +0200 |
commit | 11b3d48e461d272c7bb85204df5bd9296b1d6b43 (patch) | |
tree | a054f08d0b37ab5e49d6e816996e9c6d4f826cfd /Operations.hs | |
parent | c9a9de5bcf764c86658145fdf2540e4ef3e84204 (diff) | |
download | xmonad-11b3d48e461d272c7bb85204df5bd9296b1d6b43.tar.gz xmonad-11b3d48e461d272c7bb85204df5bd9296b1d6b43.tar.xz xmonad-11b3d48e461d272c7bb85204df5bd9296b1d6b43.zip |
Operations.hs: flip maybe id is fromMaybe
darcs-hash:20071018231418-b49f3-87484165c6fc9cf2aa6b961e5d923c2bb12a608a.gz
Diffstat (limited to '')
-rw-r--r-- | Operations.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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 [] = [] |