Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Building xmonad.hs...
lib/Conf/Bindings/Keys/Windows.hs:49:81: error:
• Couldn't match type ‘GHC.Word.Word64’
with ‘StackSet.StackSet [Char] l0 a0 s0 sd0’
Expected type: XMonad.Window -> XMonad.X ()
Actual type: StackSet.StackSet [Char] l0 a0 s0 sd0 -> XMonad.X ()
• In the second argument of ‘($)’, namely
‘Operations.windows . StackSet.shift "NSP"’
In the second argument of ‘($)’, namely
‘Operations.withFocused
$ Operations.windows . StackSet.shift "NSP"’
In the expression:
addName "Move window to NSP"
$ Operations.withFocused
$ Operations.windows . StackSet.shift "NSP"
|
49 | , ("M-S-?", addName "Move window to NSP" $ XMonad.withFocused $ XMonad.windows . StackSet.shift "NSP")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/Conf/Bindings/Keys/Windows.hs:49:98: error:
• Couldn't match type ‘StackSet.StackSet [Char] l0 a0 s0 sd0’
with ‘XMonad.WindowSet -> XMonad.WindowSet’
Expected type: StackSet.StackSet [Char] l0 a0 s0 sd0
-> XMonad.WindowSet -> XMonad.WindowSet
Actual type: StackSet.StackSet [Char] l0 a0 s0 sd0
-> StackSet.StackSet [Char] l0 a0 s0 sd0
• Possible cause: ‘StackSet.shift’ is applied to too many arguments
In the second argument of ‘(.)’, namely ‘StackSet.shift "NSP"’
In the second argument of ‘($)’, namely
‘Operations.windows . StackSet.shift "NSP"’
In the second argument of ‘($)’, namely
‘Operations.withFocused
$ Operations.windows . StackSet.shift "NSP"’
|
49 | , ("M-S-?", addName "Move window to NSP" $ XMonad.withFocused $ XMonad.windows . StackSet.shift "NSP")
| ^^^^^^^^^^^^^^^^^^^^
Error: ghc exited with code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.