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:
L. S. Leary
2018-07-21 22:02:13 +12:00
parent 4ec78aa3f2
commit 4f23016e54
5 changed files with 9 additions and 6 deletions

View File

@@ -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