about summary refs log tree commit diff stats
path: root/cpp/023call_reply
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/023call_reply
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/023call_reply')
-rw-r--r--cpp/023call_reply4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/023call_reply b/cpp/023call_reply
index 4c9fe34c..feb549e6 100644
--- a/cpp/023call_reply
+++ b/cpp/023call_reply
@@ -39,8 +39,8 @@ case REPLY: {
   break;
 }
 
-//: Results can include records and arrays.
-:(scenario "reply_record")
+//: Results can include containers and exclusive containers, addresses and arrays.
+:(scenario "reply_container")
 recipe main [
   3:point <- f 2:literal
 ]