diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-10-26 01:01:04 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-10-26 01:01:04 -0700 |
commit | 9cc389ce771636c1350c269ef042c47c427ecd28 (patch) | |
tree | edf83e1683ffee6b73cb73f3c1c147aaebe98f7c /030container.cc | |
parent | 4ea0480806d123a0f97bd2b5a867fea603b63e87 (diff) | |
download | mu-9cc389ce771636c1350c269ef042c47c427ecd28.tar.gz |
2281
Diffstat (limited to '030container.cc')
-rw-r--r-- | 030container.cc | 25 |
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 |