XMonad.Prompt.Workspace error

I copied the following lines from XMonad.Prompt.Workspace usage: import XMonad.Prompt import XMonad.Prompt.Workspace , ((modMask x .|. shiftMask, xK_m ), workspacePrompt defaultXPConfig (windows . W.shift)) but when I reload xmonad, I get this error: Not in scope: 'W.shift' am I missing an import or something? thanks -matt

Matt Brown wrote:
I copied the following lines from XMonad.Prompt.Workspace usage:
import XMonad.Prompt import XMonad.Prompt.Workspace
, ((modMask x .|. shiftMask, xK_m ), workspacePrompt defaultXPConfig (windows . W.shift))
but when I reload xmonad, I get this error:
Not in scope: 'W.shift'
am I missing an import or something?
thanks -matt
Most people have import qualified XMonad.StackSet as W in their configs. If you don't have that import, or you call it something other than W, that would be the problem. Braden Shepherdson shepheb

that fixed it. thanks
On Wed, Sep 17, 2008 at 9:59 AM, Braden Shepherdson
Matt Brown wrote:
I copied the following lines from XMonad.Prompt.Workspace usage:
import XMonad.Prompt import XMonad.Prompt.Workspace
, ((modMask x .|. shiftMask, xK_m ), workspacePrompt defaultXPConfig (windows . W.shift))
but when I reload xmonad, I get this error:
Not in scope: 'W.shift'
am I missing an import or something?
thanks -matt
Most people have
import qualified XMonad.StackSet as W
in their configs. If you don't have that import, or you call it something other than W, that would be the problem.
Braden Shepherdson shepheb
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
participants (2)
-
Braden Shepherdson
-
Matt Brown