
There is some w missing... On Wed, Jan 26, 2011 at 09:08:16PM +1000, Владимир Байраковский wrote:
So, some imports needed:
import Control.Monad (when) import Data.List
But this error occured:
xmonad.hs:78:45: Couldn't match expected type `[W.Workspace i l a]' against inferred type `W.StackSet i1 l1 a1 s sd -> [W.Workspace i1 l1 a1]' In the second argument of `($)', namely `W.workspaces' In the second argument of `($)', namely `map W.tag $ W.workspaces' In the second argument of `notElem', namely `(map show $ map W.tag $ W.workspaces)'
where line 78 is: when(x `notElem` (map show $ map W.tag $ W.workspaces)) $ addHiddenWorkspace x
It should read: when(x `notElem` (map show $ map W.tag $ W.workspaces w)) $ addHiddenWorkspace x Regards, Jan -- Jan-David Quesel Carl von Ossietzky Universität Oldenburg Department of Computing Science Correct System Design D-26111 Oldenburg, Germany Phone: +49 (0)441 798-2376 Fax: +49 (0)441 798-2965
participants (1)
-
Jan-David Quesel