Simplify code for restriction-calculation and remove compiletime warnings
Simplify code for restriction-calculation and remove compiletime warnings

darcs-hash:20081112134630-ae55e-ef7a0d2837203d784d8298f1d65f49bdffc7400f

jthornber/XMonadContrib,jthornber/XMonadContrib