Skip to content

Instantly share code, notes, and snippets.

@b0o
Created March 8, 2018 04:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save b0o/761d04ec64c4f21e89a3cb85bc827ca5 to your computer and use it in GitHub Desktop.
Save b0o/761d04ec64c4f21e89a3cb85bc827ca5 to your computer and use it in GitHub Desktop.
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