aboutsummaryrefslogtreecommitdiff
path: root/src/Internal/Submap.hs
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2022-03-28 23:27:45 -0600
committerJosh Rahm <joshuarahm@gmail.com>2022-10-09 12:19:45 -0600
commitc75c5f8254181242a96f3f6652a53cc70f40b13e (patch)
treea4df88d0c9d98d3ba7513bc6c679c80a96c112e0 /src/Internal/Submap.hs
parent4b448be1c8c4cc1d973561f94b4527962d09bdd7 (diff)
downloadrde-c75c5f8254181242a96f3f6652a53cc70f40b13e.tar.gz
rde-c75c5f8254181242a96f3f6652a53cc70f40b13e.tar.bz2
rde-c75c5f8254181242a96f3f6652a53cc70f40b13e.zip
Fix things that Hlint is complaining about.
Diffstat (limited to 'src/Internal/Submap.hs')
-rw-r--r--src/Internal/Submap.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Internal/Submap.hs b/src/Internal/Submap.hs
index e5968ff..c51f9b6 100644
--- a/src/Internal/Submap.hs
+++ b/src/Internal/Submap.hs
@@ -28,7 +28,7 @@ mapNextString fn = do
if isModifierKey keysym
then nextkey
- else return $ (m, str)
+ else return (m, str)
io $ ungrabKeyboard d currentTime
@@ -63,7 +63,7 @@ nextMotion = do
return ret
submapButtonsWithKey ::
- ((ButtonMask, Button) -> Window -> X ()) -> (Map (ButtonMask, Button) (Window -> X ())) -> Window -> X ()
+ ((ButtonMask, Button) -> Window -> X ()) -> Map (ButtonMask, Button) (Window -> X ()) -> Window -> X ()
submapButtonsWithKey defaultAction actions window = do
arg <- nextButton