[xmonad] darcs patch: Search.hs: cleanup and refactor