about summary refs log tree commit diff stats
path: root/cpp/012run
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-03-16 18:10:38 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-03-16 18:10:38 -0700
commit3a24d35f7582591e274d0de6fd002b7491c82696 (patch)
treefcf9e0037261f2a730a388db7dc27c5d6ebb7fdd /cpp/012run
parent69f04c3fb0136778b80f7f64e16ae37cf8d22907 (diff)
downloadmu-3a24d35f7582591e274d0de6fd002b7491c82696.tar.gz
930
Diffstat (limited to 'cpp/012run')
-rw-r--r--cpp/012run3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/012run b/cpp/012run
index 558a264d..42b5d477 100644
--- a/cpp/012run
+++ b/cpp/012run
@@ -28,7 +28,8 @@ struct routine {
 
 :(code)
 void run(string form) {
-  run(add_recipes(form));
+  vector<recipe_number> recipes_added = add_recipes(form);
+  run(recipes_added.front());
 }
 
 void run(recipe_number r) {
am <vc@akkartik.com> 2016-09-17 00:43:13 -0700 committer Kartik K. Agaram <vc@akkartik.com> 2016-09-17 00:43:20 -0700 3380' href='/akkartik/mu/commit/nqueens.mu?h=hlt&id=192d59d3bb9ee0baa1afd82cb5d0f352bdc6e403'>192d59d3 ^
7890b8ce ^
9458918f ^
7890b8ce ^




192d59d3 ^
7890b8ce ^


192d59d3 ^
7890b8ce ^


192d59d3 ^
7890b8ce ^
9458918f ^
7890b8ce ^


9458918f ^
7890b8ce ^
c0d61295 ^

7890b8ce ^






947c639e ^



9458918f ^
7890b8ce ^
4a48bedc ^
40923720 ^
4f1d1944 ^
40923720 ^
7890b8ce ^

9458918f ^
7890b8ce ^
4a48bedc ^
192d59d3 ^
7890b8ce ^


192d59d3 ^
9458918f ^
f116818c ^
7890b8ce ^


f116818c ^
7890b8ce ^

9458918f ^
7890b8ce ^
4a48bedc ^
192d59d3 ^

7890b8ce ^


192d59d3 ^



7890b8ce ^

9458918f ^
f116818c ^
7890b8ce ^


f116818c ^
7890b8ce ^
760f683f ^




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101