xmonad_hs_error_.txt

10. Apr, 2022Raw
xmonad.hs:71:128: error:
    • Couldn't match type ‘W.StackSet i0 l0 a0 s0 sd0 -> i0’
                     with ‘[Char]’
      Expected type: WorkspaceId
        Actual type: W.StackSet i0 l0 a0 s0 sd0 -> i0
    • Probable cause: ‘W.currentTag’ is applied to too few arguments
      In the expression: W.currentTag
      In the second argument of ‘(++)’, namely ‘[W.currentTag]’
      In the second argument of ‘($)’, namely ‘ignored ++ [W.currentTag]’
   |
71 |     , ("M-C-A-h", (XS.get :: X IgnoredWorkspaces) >>= \(IgnoredWorkspaces ignored) -> (XS.put (IgnoredWorkspaces $ ignored ++ [W.currentTag])))
   |                                                                                                                                ^^^^^^^^^^^^