Use infix operator for ~> rather than syntax rule