Modulus In Logic
Using the result of your Homework 13 solutions, let’s implement some more math functions! Implement
modulus that acts like the
mod operator in Python. It should return the remainder.
(fact (% ***YOUR CODE HERE*** )) (query (% (1 1 1) (1 1) ?what)) ; expect Success! ; what: (1)
I don't claim to be perfect so if you find an error on this page, please send me an email preferably with a link to this page so that I know what I need to fix!