diff options
Diffstat (limited to 'src/algebra/stream.spad.pamphlet')
-rw-r--r-- | src/algebra/stream.spad.pamphlet | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/algebra/stream.spad.pamphlet b/src/algebra/stream.spad.pamphlet index ea503c3d..0879aad5 100644 --- a/src/algebra/stream.spad.pamphlet +++ b/src/algebra/stream.spad.pamphlet @@ -886,7 +886,7 @@ Stream(S): Exports == Implementation where concat(frst x,concat(rst x,s)) concat(x:%,y:%) == delay - empty? x => copy y + empty? x => y concat(frst x,concat(rst x, y)) concat l == delay @@ -1098,10 +1098,6 @@ Stream(S): Exports == Implementation where gen(f,s) == delay(ss:=f s; concat(ss, gen(f,ss))) generate(f,s)==concat(s,gen(f,s)) - concat(x:%,y:%) ==delay - empty? x => y - concat(frst x,concat(rst x,y)) - swhilee:(S -> Boolean,%) -> % swhilee(p,x) == delay empty? x => empty() |