mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-01 12:41:52 -07:00
GHC 7.8 compatibility:
* Explicitly import pure, (<$>), (<*>) and (<$) from Control.Applicative. * Use DeriveDataTypeable pragma. * Remove type signature from pattern synonym.
This commit is contained in:
@@ -34,7 +34,7 @@ import qualified XMonad.StackSet as W
|
||||
import XMonad.Util.Stack (findZ)
|
||||
|
||||
import Data.Maybe (fromMaybe)
|
||||
import Control.Applicative ((<|>))
|
||||
import Control.Applicative ((<|>),(<$>))
|
||||
import Control.Monad (join)
|
||||
|
||||
-- $Usage
|
||||
@@ -67,7 +67,6 @@ type StateFull = FocusTracking Full
|
||||
|
||||
-- | A pattern synonym for the primary use case of the @FocusTracking@
|
||||
-- transformer; using @Full@.
|
||||
pattern StateFull :: StateFull a
|
||||
pattern StateFull = FocusTracking Nothing Full
|
||||
|
||||
instance LayoutClass l Window => LayoutClass (FocusTracking l) Window where
|
||||
|
Reference in New Issue
Block a user