From bbdea6e8563054b0e44aa75ba578df173b731329 Mon Sep 17 00:00:00 2001 From: David Roundy Date: Fri, 12 Oct 2007 03:14:50 +0200 Subject: use the right catch in catchX. Don't ask *me* why the prelude includes a version of catch that is worse than useless (because it lulls you into a feeling of safety). darcs-hash:20071012011450-72aca-cb4b72d604150423d7d261d462d5a5a948243d24.gz --- XMonad.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'XMonad.hs') diff --git a/XMonad.hs b/XMonad.hs index 8b52404..4cc4607 100644 --- a/XMonad.hs +++ b/XMonad.hs @@ -24,6 +24,8 @@ module XMonad ( import StackSet +import Prelude hiding ( catch ) +import Control.Exception ( catch ) import Control.Monad.State import Control.Monad.Reader import System.IO -- cgit v1.2.3