Implement `~?` operator

Closing issue#20