``` (rewrite (Const (rational a b)) (Mul (Const (rational -1 1)) (Const (rational (* -1 a) b))) :when ((< a 0)) :ruleset builtin-rules) ``` Hi! It would be super cool to match on the integers inside a rational number as in the above code snippet.
Hi! It would be super cool to match on the integers inside a rational number as in the above code snippet.