about summary refs log tree commit diff stats
path: root/020run.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-07-03 19:38:21 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-07-03 19:38:21 -0700
commit7f73795cf5a5722dd6c05bee1e7c8c3f8eded8da (patch)
tree00871986797f79b9156c37dec25eb2071fda0d2c /020run.cc
parent608d5c9aa148801081d7dca80b6f3bfb5b285f08 (diff)
downloadmu-7f73795cf5a5722dd6c05bee1e7c8c3f8eded8da.tar.gz
1699 - first-class recipe types
It should now be easy to do dynamic dispatch, create higher-order
functions, etc.
Diffstat (limited to '020run.cc')
-rw-r--r--020run.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/020run.cc b/020run.cc
index 2c069576..cecfd7b0 100644
--- a/020run.cc
+++ b/020run.cc
@@ -76,6 +76,7 @@ void run_current_routine()
     switch (current_instruction().operation) {
       // Primitive Recipe Implementations
       case COPY: {
+//?         if (!ingredients.empty()) cerr << current_instruction().ingredients.at(0).to_string() << ' ' << ingredients.at(0).at(0) << '\n'; //? 1
         copy(ingredients.begin(), ingredients.end(), inserter(products, products.begin()));
         break;
       }