From db5c9550e972d114aaabb95b14cfd1e3ea185349 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 16 Apr 2015 10:35:49 -0700 Subject: 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). --- cpp/.traces/convert_names_handles_containers | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cpp/.traces/convert_names_handles_containers (limited to 'cpp/.traces/convert_names_handles_containers') 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 ... -- cgit 1.4.1-2-gfad0