You are not logged in.
Been trying all day to get this config to work on my xmonad, but whenever I recompile I get this error:
lib/PerWorkspaceDirs.hs:22:37:
Couldn't match type `xmonad-0.11:XMonad.Core.X' with `X'
Expected type: X WorkingDirs
Actual type: xmonad-0.11:XMonad.Core.X WorkingDirs
In a stmt of a 'do' block: (WD cdirs) <- XS.get
In the expression:
do { (WD cdirs) <- XS.get;
XS.put . WD $ (ws, dir) : filter (\ (a, _) -> a /= ws) cdirs }
In an equation for `changeDir':
changeDir dir ws
= do { (WD cdirs) <- XS.get;
XS.put . WD $ (ws, dir) : filter (\ (a, _) -> a /= ws) cdirs }
lib/PerWorkspaceDirs.hs:23:23:
Couldn't match type `xmonad-0.11:XMonad.Core.X' with `X'
Expected type: X ()
Actual type: xmonad-0.11:XMonad.Core.X ()
In a stmt of a 'do' block:
XS.put . WD $ (ws, dir) : filter (\ (a, _) -> a /= ws) cdirs
In the expression:
do { (WD cdirs) <- XS.get;
XS.put . WD $ (ws, dir) : filter (\ (a, _) -> a /= ws) cdirs }
In an equation for `changeDir':
changeDir dir ws
= do { (WD cdirs) <- XS.get;
XS.put . WD $ (ws, dir) : filter (\ (a, _) -> a /= ws) cdirs }
lib/PerWorkspaceDirs.hs:26:29:
Couldn't match type `xmonad-0.11:XMonad.Core.X' with `X'
Expected type: X WorkingDirs
Actual type: xmonad-0.11:XMonad.Core.X WorkingDirs
In a stmt of a 'do' block: (WD dirs) <- XS.get
In the expression:
do { (WD dirs) <- XS.get;
return $ maybe "~/" id (lookup ws dirs) }
In an equation for `getDir':
getDir ws
= do { (WD dirs) <- XS.get;
return $ maybe "~/" id (lookup ws dirs) }Can anyone assist? Thank you in advance
Offline
Well, that setup is cool. What does yours look like? What changes have you made?
Knute
Offline
Couldn't match type `xmonad-0.11:XMonad.Core.X' with `X' Expected type: X WorkingDirs Actual type: xmonad-0.11:XMonad.Core.X WorkingDirs
An error like this usually indicates that you're mixing different versions of libraries/modules. Often that happens because you're importing something that has been compiled against an older or newer version than the version you're using yourself.
Offline
@Leavism, are you using both community repos and haskell-core?
Knute
Offline