From 0e7c39d9ec6719a32eec0b696d7167faf6598757 Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 7 Aug 2020 03:33:15 +0100 Subject: Redundant imports (mostly <$>) removed --- src/Xmobar/App/EventLoop.hs | 3 +-- src/Xmobar/App/Main.hs | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'src/Xmobar/App') diff --git a/src/Xmobar/App/EventLoop.hs b/src/Xmobar/App/EventLoop.hs index cad95a5..e6232cd 100644 --- a/src/Xmobar/App/EventLoop.hs +++ b/src/Xmobar/App/EventLoop.hs @@ -3,7 +3,7 @@ ------------------------------------------------------------------------------ -- | -- Module: Xmobar.X11.EventLoop --- Copyright: (c) 2018 Jose Antonio Ortega Ruiz +-- Copyright: (c) 2018, 2020 Jose Antonio Ortega Ruiz -- License: BSD3-style (see LICENSE) -- -- Maintainer: jao@gnu.org @@ -31,7 +31,6 @@ import Graphics.X11.Xinerama import Graphics.X11.Xrandr import Control.Arrow ((&&&)) -import Control.Applicative ((<$>)) import Control.Monad.Reader import Control.Concurrent import Control.Concurrent.Async (Async, async) diff --git a/src/Xmobar/App/Main.hs b/src/Xmobar/App/Main.hs index f173e12..03a01a1 100644 --- a/src/Xmobar/App/Main.hs +++ b/src/Xmobar/App/Main.hs @@ -1,7 +1,7 @@ ------------------------------------------------------------------------------ -- | -- Module: Xmobar.App.Main --- Copyright: (c) 2018, 2019 Jose Antonio Ortega Ruiz +-- Copyright: (c) 2018, 2019, 2020 Jose Antonio Ortega Ruiz -- License: BSD3-style (see LICENSE) -- -- Maintainer: jao@gnu.org @@ -26,8 +26,7 @@ import qualified Data.Map as Map import Data.List (intercalate) import System.Posix.Process (executeFile) import System.Environment (getArgs) -import System.FilePath -import System.FilePath.Posix (takeBaseName, takeDirectory) +import System.FilePath ((), takeBaseName, takeDirectory, takeExtension) import Text.Parsec.Error (ParseError) import Data.List.NonEmpty (NonEmpty(..)) -- cgit v1.2.3