aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/algebra/tree.spad.pamphlet1
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) ==