Eyal Erez
2018-10-23 21:17:09 UTC
Hi,
I've just recently upgraded my system and now I'm getting the following
error:
xmonad.hs:454:32: error:
⢠Couldn't match type âM.Map (KeyMask, KeySym) (X ())â
with âcontainers-0.5.11.0:Data.Map.Internal.Map
(ButtonMask, KeySym) (X ())â
NB: âcontainers-0.5.11.0:Data.Map.Internal.Mapâ
is defined in âData.Map.Internalâ in package
âcontainers-0.5.11.0â
âM.Mapâ
is defined in âData.Map.Internalâ in package
âcontainers-0.6.0.1â
Expected type: XConfig Layout
-> containers-0.5.11.0:Data.Map.Internal.Map
(ButtonMask, KeySym) (X ())
Actual type: XConfig Layout -> M.Map (KeyMask, KeySym) (X ())
⢠In the âkeysâ field of a record
In the expression:
defaultConfig
{modMask = mod1Mask, keys = myKeys,
manageHook = manageDocks <+> composeAll myManageHook,
startupHook = takeTopFocus >> setWMName "LG3D",
layoutHook = myLayout,
terminal = "rxvt-unicode -e $HOME/etc/tmux/init",
workspaces = ["web", "emacs", "dev", ....],
focusedBorderColor = myActiveBorderColor,
normalBorderColor = myInactiveBorderColor, borderWidth = 3}
In an equation for âmyConfigâ:
myConfig
= defaultConfig
{modMask = mod1Mask, keys = myKeys,
manageHook = manageDocks <+> composeAll myManageHook,
startupHook = takeTopFocus >> setWMName "LG3D",
layoutHook = myLayout,
terminal = "rxvt-unicode -e $HOME/etc/tmux/init",
workspaces = ["web", "emacs", ....],
focusedBorderColor = myActiveBorderColor,
normalBorderColor = myInactiveBorderColor, borderWidth = 3}
|
454 | , keys = myKeys
| ^^^^^^
My knowledge of Haskell is not good enough to figure this out.
My xmonad.hs file is available here: https://pastebin.com/rBNUFf1k
Thank you,
I've just recently upgraded my system and now I'm getting the following
error:
xmonad.hs:454:32: error:
⢠Couldn't match type âM.Map (KeyMask, KeySym) (X ())â
with âcontainers-0.5.11.0:Data.Map.Internal.Map
(ButtonMask, KeySym) (X ())â
NB: âcontainers-0.5.11.0:Data.Map.Internal.Mapâ
is defined in âData.Map.Internalâ in package
âcontainers-0.5.11.0â
âM.Mapâ
is defined in âData.Map.Internalâ in package
âcontainers-0.6.0.1â
Expected type: XConfig Layout
-> containers-0.5.11.0:Data.Map.Internal.Map
(ButtonMask, KeySym) (X ())
Actual type: XConfig Layout -> M.Map (KeyMask, KeySym) (X ())
⢠In the âkeysâ field of a record
In the expression:
defaultConfig
{modMask = mod1Mask, keys = myKeys,
manageHook = manageDocks <+> composeAll myManageHook,
startupHook = takeTopFocus >> setWMName "LG3D",
layoutHook = myLayout,
terminal = "rxvt-unicode -e $HOME/etc/tmux/init",
workspaces = ["web", "emacs", "dev", ....],
focusedBorderColor = myActiveBorderColor,
normalBorderColor = myInactiveBorderColor, borderWidth = 3}
In an equation for âmyConfigâ:
myConfig
= defaultConfig
{modMask = mod1Mask, keys = myKeys,
manageHook = manageDocks <+> composeAll myManageHook,
startupHook = takeTopFocus >> setWMName "LG3D",
layoutHook = myLayout,
terminal = "rxvt-unicode -e $HOME/etc/tmux/init",
workspaces = ["web", "emacs", ....],
focusedBorderColor = myActiveBorderColor,
normalBorderColor = myInactiveBorderColor, borderWidth = 3}
|
454 | , keys = myKeys
| ^^^^^^
My knowledge of Haskell is not good enough to figure this out.
My xmonad.hs file is available here: https://pastebin.com/rBNUFf1k
Thank you,
--
*Eyal Erez <*****@gmail.com* <***@gmail.com>*>*
There are 10 types of people, those who know binary and those who don't.
*Eyal Erez <*****@gmail.com* <***@gmail.com>*>*
There are 10 types of people, those who know binary and those who don't.