summaryrefslogtreecommitdiff
path: root/log.md
diff options
context:
space:
mode:
Diffstat (limited to 'log.md')
-rw-r--r--log.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/log.md b/log.md
index 389cd30..4025a30 100644
--- a/log.md
+++ b/log.md
@@ -453,3 +453,15 @@ The compacting collector has a **problem**, for example with `./twice -h 1k -gc
-st`. It is difficult to find programs that have this problem, since the
compacting collector is only used when the copying collector is deemed
inefficient (when we would have to copy too much, copying is inefficient).
+
+### 2016-11-17
+
+Did some tests with garbage collecting, records and HOF together, e.g.:
+
+```clean
+:: Rec = { x :: Int, y :: String, z :: Real }
+toRec x = { x = x, y = toString x, z = toReal (x + x) / 3.0 }
+Start = append (fromto toRec 1 100) (fromto toRec 500 1000)
+```
+
+Seems to work fine so far.