From 000cd147998c2aaf8ac16fdfbe112cb88c77c51a Mon Sep 17 00:00:00 2001 From: Tony Zorman Date: Sun, 17 Sep 2023 12:13:29 +0200 Subject: [PATCH] X.Prelude: Compatibility with base-4.18.0.0 Will ship with GHC 9.8. Fixes: https://github.com/xmonad/xmonad-contrib/issues/826 --- XMonad/Prelude.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/XMonad/Prelude.hs b/XMonad/Prelude.hs index 4f118a174d..ce6e92fe0b 100644 --- a/XMonad/Prelude.hs +++ b/XMonad/Prelude.hs @@ -1,3 +1,4 @@ +{-# OPTIONS_GHC -Wno-dodgy-imports #-} {-# LANGUAGE BangPatterns #-} {-# LANGUAGE LambdaCase #-} {-# LANGUAGE ScopedTypeVariables #-} @@ -47,8 +48,8 @@ import Data.Bool as Exports import Data.Char as Exports import Data.Foldable as Exports import Data.Function as Exports -import Data.Functor as Exports -import Data.List as Exports +import Data.Functor as Exports hiding (unzip) +import Data.List as Exports hiding ((!?)) import Data.Maybe as Exports import Data.Monoid as Exports import Data.Traversable as Exports