about summary refs log tree commit diff stats
path: root/030container.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-10-26 01:01:04 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-10-26 01:01:04 -0700
commit9cc389ce771636c1350c269ef042c47c427ecd28 (patch)
treeedf83e1683ffee6b73cb73f3c1c147aaebe98f7c /030container.cc
parent4ea0480806d123a0f97bd2b5a867fea603b63e87 (diff)
downloadmu-9cc389ce771636c1350c269ef042c47c427ecd28.tar.gz
2281
Diffstat (limited to '030container.cc')
-rw-r--r--030container.cc25
1 files changed, 0 insertions, 25 deletions
diff --git a/030container.cc b/030container.cc
index 2f678687..629376b4 100644
--- a/030container.cc
+++ b/030container.cc
@@ -191,31 +191,6 @@ case GET: {
   break;
 }
 
-:(code)
-string dump_types(const reagent& x) {
-  ostringstream out;
-  dump_types(x.type, out);
-  return out.str();
-}
-
-void dump_types(type_tree* type, ostringstream& out) {
-  if (!type->left && !type->right) {
-    out << Type[type->value].name;
-    return;
-  }
-  out << "<";
-  if (type->left)
-    dump_types(type->left, out);
-  else
-    out << Type[type->value].name;
-  out << " : ";
-  if (type->right)
-    dump_types(type->right, out);
-  else
-    out << " : <>";
-  out << ">";
-}
-
 :(scenario get_handles_nested_container_elements)
 recipe main [
   12:number <- copy 34