about summary refs log tree commit diff stats
path: root/cpp/019address
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-16 10:35:49 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-16 10:35:49 -0700
commitdb5c9550e972d114aaabb95b14cfd1e3ea185349 (patch)
tree9217134d1154e45f5375f94c9b5788530fbf8cb7 /cpp/019address
parentd6852155e5308e2bb347402bf9e069c7153c2319 (diff)
downloadmu-db5c9550e972d114aaabb95b14cfd1e3ea185349.tar.gz
1069 - rename record/field to container/element
This seems more obvious to laypeople.

I've also come up with a design for sum types: I'm going to call them
exclusive containers. You call 'get' on containers, 'index' on arrays,
and 'maybe-convert' on exclusive containers (as well as tagged types,
but that's even later).
Diffstat (limited to 'cpp/019address')
-rw-r--r--cpp/019address4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/019address b/cpp/019address
index 58d852cd..22355fc6 100644
--- a/cpp/019address
+++ b/cpp/019address
@@ -73,7 +73,7 @@ reagent deref(reagent x) {
   return result;
 }
 
-//: 'get' can read from record address
+//: 'get' can read from container address
 :(scenario "get_indirect")
 recipe main [
   1:integer <- copy 2:literal
@@ -102,7 +102,7 @@ recipe main [
 base = canonize(base);
 
 :(scenario "get_address_indirect")
-# 'get' can read from record address
+# 'get' can read from container address
 recipe main [
   1:integer <- copy 2:literal
   2:integer <- copy 34:literal