aboutsummaryrefslogtreecommitdiff
path: root/src/Internal/Lib.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Internal/Lib.hs')
-rw-r--r--src/Internal/Lib.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Internal/Lib.hs b/src/Internal/Lib.hs
index d8784ea..e608bb0 100644
--- a/src/Internal/Lib.hs
+++ b/src/Internal/Lib.hs
@@ -132,7 +132,7 @@ relativeWorkspaceShift (Selector selector) = do
next :: Selector
next = Selector $ \a l -> select a l l
- where select n (x:y:xs) _ | n == x = y
+ where select n (x:y:xs) _ | n == x = y
select n [x] (y:_) | n == x = y
select n (x:xs) orig = select n xs orig
select n _ _ = n