diff options
author | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-05-21 20:45:04 +0200 |
---|---|---|
committer | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-05-21 20:45:04 +0200 |
commit | 6572e2115b8ded3616bb11434eada7d8a97cc877 (patch) | |
tree | 6546b938301e22b087c35ce62d274d3f5743ac49 | |
parent | d72221f2d6b9937431e5c1340e62c19290034d5c (diff) | |
download | xmonad-6572e2115b8ded3616bb11434eada7d8a97cc877.tar.gz xmonad-6572e2115b8ded3616bb11434eada7d8a97cc877.tar.xz xmonad-6572e2115b8ded3616bb11434eada7d8a97cc877.zip |
Read instance for StackSet
darcs-hash:20070521184504-a5988-348b1e31532e664b6ad4bbb9ed82e57b53c41417.gz
Diffstat (limited to '')
-rw-r--r-- | StackSet.hs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/StackSet.hs b/StackSet.hs index 4feb203..c591d14 100644 --- a/StackSet.hs +++ b/StackSet.hs @@ -115,17 +115,17 @@ data StackSet i a sid = , current :: !(Screen i a sid) -- currently focused workspace , visible :: [Screen i a sid] -- non-focused workspaces, visible in xinerama , hidden :: [Workspace i a] -- workspaces not visible anywhere - } deriving (Show, Eq) + } deriving (Show, Read, Eq) -- Visible workspaces, and their Xinerama screens. data Screen i a sid = Screen { workspace :: !(Workspace i a), screen :: !sid } - deriving (Show, Eq) + deriving (Show, Read, Eq) -- -- A workspace is just a tag - its index - and a stack -- data Workspace i a = Workspace { tag :: !i, stack :: Stack a } - deriving (Show, Eq) + deriving (Show, Read, Eq) -- -- A stack is a cursor onto a (possibly empty) window list. @@ -143,7 +143,7 @@ data Stack a = Empty | Node { focus :: !a -- focused thing in this set , left :: [a] -- clowns to the left , right :: [a] } -- jokers to the right - deriving (Show, Eq) + deriving (Show, Read, Eq) -- --------------------------------------------------------------------- -- Construction |