mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-14 11:45:54 -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:
@@ -14,8 +14,6 @@ The provided @unicodePrompt@ and @typeUnicodePrompt@ use @xsel@ and @xdotool@
|
||||
respectively.
|
||||
-}
|
||||
|
||||
{-# LANGUAGE DeriveDataTypeable #-}
|
||||
|
||||
module XMonad.Prompt.Unicode (
|
||||
-- * Usage
|
||||
-- $usage
|
||||
@@ -44,7 +42,7 @@ instance XPrompt Unicode where
|
||||
nextCompletion Unicode = getNextCompletion
|
||||
|
||||
newtype UnicodeData = UnicodeData { getUnicodeData :: [(Char, BS.ByteString)] }
|
||||
deriving (Typeable, Read, Show)
|
||||
deriving (Read, Show)
|
||||
|
||||
instance ExtensionClass UnicodeData where
|
||||
initialValue = UnicodeData []
|
||||
|
Reference in New Issue
Block a user