Hi,

I have found what seems to me a (theoretical) bug in Xmonad.Actions.CycleWS.ToggleWS. Or if this is not a bug I would like to find out why not :)

The code for the function is
------
-- | Toggle to the workspace displayed previously.
toggleWS :: X ()
toggleWS = windows $ view =<< tag . head . hidden

------

What if there are no hidden workspaces? Would the empty list exception be caught somewhere?

This may be an edge case not worth worrying about but it still bothers me somehow :)

Cheers,
Alexey