description:
mod[n] ket
apply mod n to the value in the ket, leaving the coefficient unchanged
if the value is not a number, return the ket
examples:
mod[1000] |1234567>
|567>
mod[13] |the cat>
|the cat>
see also:
round, times-by, divide-by, int-divide-by, plus, minus, is-mod