Implement chacing of polarity.
Merge branch 'master' of https://github.com/alviano/wasp