There's a (undocumented, i think) function raiseWindow that you can use to put
It's documented, but not where you expect; since it's part of the X11 bindings and not xmonad proper, the documentation is "man 3 XRaiseWindow". (That is, there is a haddock for it but all it says is "does XRaiseWindow".)
--