User state in Xmonad
<p>Is it possible to have a user state in Xmonad?</p>

<p>I'm using global variables right now, but I wonder if there's a proper way to do it within Xmonad. (Eg: in parsec, there's a user state, so you would use <code>Parser TYPE ...</code> where TYPE is the type of the user state and is queryable with getState, putState, and modifyState.)</p>