diff options
Diffstat (limited to 'src/algebra/fmod.spad.pamphlet')
-rw-r--r-- | src/algebra/fmod.spad.pamphlet | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/algebra/fmod.spad.pamphlet b/src/algebra/fmod.spad.pamphlet index b40501f5..071bd6e7 100644 --- a/src/algebra/fmod.spad.pamphlet +++ b/src/algebra/fmod.spad.pamphlet @@ -40,10 +40,10 @@ IntegerMod(p:PositiveInteger): 0 == per(0$Rep) 1 == per(1$Rep) init == 0 - nextItem(n) == + nextItem n == m := n+1 - m = 0 => "failed" - m + m = 0 => nothing + just m zero? x == rep x = 0 one? x == rep x = 1 |