mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 20:21:51 -07:00
New module: XMonad.Prelude
This is a convenience module in order to have less import noise. It re-exports the following: a) Commonly used modules in full (Data.Foldable, Data.Applicative, and so on); though only those that play nicely with each other, so that XMonad.Prelude can be imported unqualified without any problems. This prevents things like `Prelude.(.)` and `Control.Category.(.)` fighting with each other. b) Helper functions that don't necessarily fit in any other module; e.g., the often used abbreviation `fi = fromIntegral`.
This commit is contained in:
@@ -78,15 +78,14 @@ module XMonad.Actions.GridSelect (
|
||||
-- * Types
|
||||
TwoDState,
|
||||
) where
|
||||
import Data.Maybe
|
||||
import Control.Arrow ((***))
|
||||
import Data.Bits
|
||||
import Data.Char
|
||||
import Data.Ord (comparing)
|
||||
import Control.Monad.State
|
||||
import Control.Arrow
|
||||
import Data.List as L
|
||||
import qualified Data.Map as M
|
||||
import XMonad hiding (liftX)
|
||||
import XMonad.Prelude
|
||||
import XMonad.Util.Font
|
||||
import XMonad.Prompt (mkUnmanagedWindow)
|
||||
import XMonad.StackSet as W
|
||||
|
Reference in New Issue
Block a user