diff options
author | dos-reis <gdr@axiomatics.org> | 2010-06-11 00:35:21 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2010-06-11 00:35:21 +0000 |
commit | 9f51e802fd65c7f078c71db9827ffd27995dd78d (patch) | |
tree | 0f58a81331b9474dba2891db9df372f67911104a | |
parent | 35102fea22aa54cdc3dff3e9faea8b1c58b93aa2 (diff) | |
download | open-axiom-9f51e802fd65c7f078c71db9827ffd27995dd78d.tar.gz |
* algebra/tree.spad.pamphlet (map!Tree): Don't forget the return
value.
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/algebra/tree.spad.pamphlet | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 464bf14d..9d15d4de 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,10 @@ 2010-06-10 Gabriel Dos Reis <gdr@cs.tamu.edu> + * algebra/tree.spad.pamphlet (map!Tree): Don't forget the return + value. + +2010-06-10 Gabriel Dos Reis <gdr@cs.tamu.edu> + * interp/compiler.boot (freeVarUsage): Handle %when too. (compLogicalNot): Generate %not form. (satisfies): Use %bind. diff --git a/src/algebra/tree.spad.pamphlet b/src/algebra/tree.spad.pamphlet index dc2b9e48..7b659368 100644 --- a/src/algebra/tree.spad.pamphlet +++ b/src/algebra/tree.spad.pamphlet @@ -87,6 +87,7 @@ Tree(S: SetCategory): T==C where t case empty => t setvalue!(t, fn value t) for c in children t repeat map!(fn, c) + t tree(s,lt) == [[s,lt]] tree(s) == [[s,[]]] tree(ls) == |