removed xElemIs / xElemNot; partial application makes this unneeded :)