aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/stream.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/stream.spad.pamphlet')
-rw-r--r--src/algebra/stream.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/stream.spad.pamphlet b/src/algebra/stream.spad.pamphlet
index 4edd8509..8bd55a61 100644
--- a/src/algebra/stream.spad.pamphlet
+++ b/src/algebra/stream.spad.pamphlet
@@ -1031,7 +1031,7 @@ Stream(S): Exports == Implementation where
not empty? x and frst x = first l and x = rst x
x0 := x
for s in l repeat
- empty? x or s ^= frst x => return false
+ empty? x or s ~= frst x => return false
x := rst x
eq?(x,x0)