Hello Daniel, I like this on xmonad-contrib. I would suggest the name `default` instead of `def` though.
What do you think about having Default instances for states? e.g. for XState and/or XPState.
They would be considered to be the initial state of course.