Perform mathematic modular arithmetic.
Must be an integer.
Must be a positive integer.
An integer between zero (inclusive) and b (exclusive).
b
A function that takes a integer and returns an integer between zero (inclusive) and b (exclusive).
Perform mathematic modular arithmetic.