mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 20:21:51 -07:00
Remove all derivations of Typeable
Typeable has been automatically derived for every type since GHC 7.10,
so remove these obsolete derivations. This also allows us to get rid of
the `DeriveDataTypeable` pragma quite naturally.
Related: https://github.com/xmonad/xmonad/pull/299 (xmonad/xmonad@9e5b16ed8a)
Related: bd5b969d9b
Fixes: https://github.com/xmonad/xmonad-contrib/issues/548
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
{-# LANGUAGE DeriveDataTypeable #-}
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
-- |
|
||||
-- Module : XMonad.Util.PositionStore
|
||||
@@ -35,9 +33,9 @@ import qualified Data.Map as M
|
||||
-- This way windows can be easily relocated and scaled when switching screens.
|
||||
|
||||
newtype PositionStore = PS (M.Map Window PosStoreRectangle)
|
||||
deriving (Read,Show,Typeable)
|
||||
deriving (Read,Show)
|
||||
data PosStoreRectangle = PSRectangle Double Double Double Double
|
||||
deriving (Read,Show,Typeable)
|
||||
deriving (Read,Show)
|
||||
|
||||
instance ExtensionClass PositionStore where
|
||||
initialValue = PS M.empty
|
||||
|
Reference in New Issue
Block a user