aboutsummaryrefslogtreecommitdiffstats
path: root/W.hs
diff options
context:
space:
mode:
authorDon Stewart <dons@cse.unsw.edu.au>2007-03-07 07:52:50 +0100
committerDon Stewart <dons@cse.unsw.edu.au>2007-03-07 07:52:50 +0100
commit3e3939c36321dfab50c7068002f2dd031bf588b6 (patch)
treeedaf6bfe361e5999ee0487de3b42983ddfe82e42 /W.hs
parentab59665734d11e532cffc9f0b9c6fe76fd7954a3 (diff)
downloadxmonad-3e3939c36321dfab50c7068002f2dd031bf588b6.tar.gz
xmonad-3e3939c36321dfab50c7068002f2dd031bf588b6.tar.xz
xmonad-3e3939c36321dfab50c7068002f2dd031bf588b6.zip
dead code
darcs-hash:20070307065250-9c5c1-6b3712e3038ddfab71ac8daf78bd3374b0883400.gz
Diffstat (limited to 'W.hs')
-rw-r--r--W.hs5
1 files changed, 0 insertions, 5 deletions
diff --git a/W.hs b/W.hs
index cf1c1fb..61f13d8 100644
--- a/W.hs
+++ b/W.hs
@@ -78,10 +78,6 @@ modifyWindows f = modify $ \s -> s {windows = f (windows s)}
forever :: (Monad m) => m a -> m b
forever a = a >> forever a
--- | Add an element onto the end of a list
-snoc :: [a] -> a -> [a]
-snoc xs x = xs ++ [x]
-
-- | Rotate a list by 'n' elements.
--
-- for xs = [5..8] ++ [1..4]
@@ -101,4 +97,3 @@ rotate n xs = take l . drop offset . cycle $ xs
offset | n < 0 = l + n
| otherwise = n
-