diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-04-16 10:35:49 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-04-16 10:35:49 -0700 |
commit | db5c9550e972d114aaabb95b14cfd1e3ea185349 (patch) | |
tree | 9217134d1154e45f5375f94c9b5788530fbf8cb7 /cpp/.traces/convert_names_handles_containers | |
parent | d6852155e5308e2bb347402bf9e069c7153c2319 (diff) | |
download | mu-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/.traces/convert_names_handles_containers')
-rw-r--r-- | cpp/.traces/convert_names_handles_containers | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cpp/.traces/convert_names_handles_containers b/cpp/.traces/convert_names_handles_containers new file mode 100644 index 00000000..0073519a --- /dev/null +++ b/cpp/.traces/convert_names_handles_containers @@ -0,0 +1,11 @@ +parse/0: instruction: 1 +parse/0: ingredient: {name: "0", value: 0, type: 0, properties: ["0": "literal"]} +parse/0: product: {name: "a", value: 0, type: 6, properties: ["a": "point"]} +parse/0: instruction: 1 +parse/0: ingredient: {name: "0", value: 0, type: 0, properties: ["0": "literal"]} +parse/0: product: {name: "b", value: 0, type: 1, properties: ["b": "integer"]} +name/0: assign a 1 +name/0: assign b 3 +after-brace/0: recipe main +after-brace/0: copy ... +after-brace/0: copy ... |