diff options
author | dos-reis <gdr@axiomatics.org> | 2011-04-20 21:49:59 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-04-20 21:49:59 +0000 |
commit | 1e67a3445ddda759c38b455494350ed00390d73f (patch) | |
tree | 720721577c197b4ff455f25ad767c9a8de5c5d94 /src/boot/ast.boot | |
parent | 517b9dd50dcdf3f7881d5f682e8217174d03a211 (diff) | |
download | open-axiom-1e67a3445ddda759c38b455494350ed00390d73f.tar.gz |
more cleanup
Diffstat (limited to 'src/boot/ast.boot')
-rw-r--r-- | src/boot/ast.boot | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/boot/ast.boot b/src/boot/ast.boot index 961cad8f..719d583d 100644 --- a/src/boot/ast.boot +++ b/src/boot/ast.boot @@ -359,15 +359,18 @@ bfReduce(op,y)== bfReduceCollect(op,y)== y is ["COLLECT",:.] => - body := y.1 - itl := y.2 + body := second y + itl := third y a := op is ["QUOTE",:.] => second op op op := bfReName a init := a has SHOETHETA or op has SHOETHETA bfOpReduce(op,init,body,itl) - bfReduce(op,bfTupleConstruct (y.1)) + seq := + y = nil => bfTuple nil + second y + bfReduce(op,bfTupleConstruct seq) -- delayed collect |