spoon
spoon copied to clipboard
`VisitorPartialEvaluator` should simplify calculations with 1 or 0 like `A + 0 = A`
Here are some that are not implemented yet:
-
A + 0
=A
-
A - 0
=A
-
A * 0
=0
-
A * 1
=A
-
A / 1
=A
-
A % 1
=0