aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/stream.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-08-31 22:09:16 +0000
committerdos-reis <gdr@axiomatics.org>2008-08-31 22:09:16 +0000
commit25f1c7c591229dcd84d651542e33a24fc13f837c (patch)
tree04749229244fac305566d75320b8f9fc70d7ebab /src/algebra/stream.spad.pamphlet
parentc7514825ba2dfd72261b2049d826c36b2e5c0593 (diff)
downloadopen-axiom-25f1c7c591229dcd84d651542e33a24fc13f837c.tar.gz
* algebra/stream.spad.pamphlet (Stream): Remove duplicate of concat.
* algebra/naalgc.spad.pamphlet (FramedNonAssociativeAlgebra): disambiguate coordinates.
Diffstat (limited to 'src/algebra/stream.spad.pamphlet')
-rw-r--r--src/algebra/stream.spad.pamphlet6
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()