
28 Nov
2009
28 Nov
'09
1:19 a.m.
Thanks
The type has to be in the X monad; try declaring it as X Int. (More specifically, the error message is telling you that you used a do expression, which produces a result in some monad ("m b"), but you declared the type as Int.)
XMonad.Layout.IndependentScreens exports the countScreens value for this purpose.
Both replies were very helpful. Regards, Mike