Get rid of fraction arithmetic patterns #351
Labels
C-Moderate Effort
Should take a moderate amount of time to address.
S-Nice to have
Minor importance
Z-Student
Good project for a student.
Currently,
In fact
f
is completely undefined, since the pattern2/4
will never match anything; rational inputs are always reduced, and the numerator and denominator will be matched literally.The above is a little strange, and maybe not worth fixing, but I think the below is more troubling:
I would expect to get
2
as a result.The text was updated successfully, but these errors were encountered: