mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 12:11:52 -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,6 +1,6 @@
|
||||
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds #-}
|
||||
{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses
|
||||
, PatternGuards, DeriveDataTypeable, ExistentialQuantification
|
||||
, PatternGuards, ExistentialQuantification
|
||||
, FlexibleContexts #-}
|
||||
|
||||
-----------------------------------------------------------------------------
|
||||
@@ -162,7 +162,7 @@ data ZoomMessage = Zoom Rational
|
||||
| ZoomFullToggle
|
||||
-- ^ Toggle whether the focused window should
|
||||
-- occupy all available space when it has focus
|
||||
deriving (Typeable, Show)
|
||||
deriving (Show)
|
||||
|
||||
instance Message ZoomMessage
|
||||
|
||||
|
Reference in New Issue
Block a user