summaryrefslogtreecommitdiff
path: root/log.md
diff options
context:
space:
mode:
authorCamil Staps2016-11-17 09:27:44 +0100
committerCamil Staps2016-11-17 09:27:44 +0100
commita64f865ec35587122779afb8162e7fb2cdf62171 (patch)
tree9c2f4cc774bbb54b4f36299604cb3b81c73f0918 /log.md
parentlog (diff)
log
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.