- 论坛徽章:
- 0
|
我这样试不对:
"((modMask .|. shiftMask, xK_Return), spawn $ XMonad.terminal conf)" =~ "(mod|shift|control)Mask"
<interactive>:1:0:
No instance for (Text.Regex.Base.RegexLike.RegexContext
Regex [Char] target)
arising from a use of `=~' at <interactive>:1:0-96
Possible fix:
add an instance declaration for
(Text.Regex.Base.RegexLike.RegexContext Regex [Char] target)
In the expression:
"((modMask .|. shiftMask, xK_Return), spawn $ XMonad.terminal conf)"
=~
"(mod|shift|control)Mask"
In the definition of `it':
it = "((modMask .|. shiftMask, xK_Return), spawn $ XMonad.terminal conf)"
=~
"(mod|shift|control)Mask" |
|