On Thu, Aug 8, 2013 at 12:04 PM, Rhys Ulerich <rhys.ulerich@gmail.com> wrote:
>     import qualified XMonad.StackSet as W
>
>     {- ... -}
>
>     followTo which wsel = withFocused $ \w -> do
>       moveTo which wsel
>       here <- gets $ tag . workspace . current . windowset
>       windows $ W.shift here w

Thank you.  Would you please pass along the imports you're using?  I
needed to add an 'import XMonad.StackSet' but on 'xmonad --recompile'

That was me typoing first thing in my morning :/ W.shiftWin is the correct function; W.shift uses the focused window (which won't exist as the workspace is empty).

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net