From 90dd7705a8e0bf2a942a861229ac05bb05377a0b Mon Sep 17 00:00:00 2001 From: Spencer Janssen Date: Mon, 21 May 2007 19:07:04 +0000 Subject: [PATCH] Show instances for WorkspaceId and ScreenId --- XMonad.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/XMonad.hs b/XMonad.hs index 853fdeb..d1eff38 100644 --- a/XMonad.hs +++ b/XMonad.hs @@ -58,10 +58,10 @@ data XConf = XConf type WindowSet = StackSet WorkspaceId Window ScreenId -- | Virtual workspace indicies -newtype WorkspaceId = W Int deriving (Eq,Ord,Show,Enum,Num,Integral,Real) +newtype WorkspaceId = W Int deriving (Eq,Ord,Show,Read,Enum,Num,Integral,Real) -- | Physical screen indicies -newtype ScreenId = S Int deriving (Eq,Ord,Show,Enum,Num,Integral,Real) +newtype ScreenId = S Int deriving (Eq,Ord,Show,Read,Enum,Num,Integral,Real) ------------------------------------------------------------------------