about summary refs log tree commit diff stats
path: root/073wait.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-09-15 17:25:07 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-09-15 17:25:07 -0700
commit9e0f70d55ea7aa45e46387fc71e75d09ded3a46a (patch)
tree017b6118d2231698efb19727a22ea150fb961871 /073wait.cc
parent757dc3fd465b162ababdcb9ec097b4d01cb56cde (diff)
downloadmu-9e0f70d55ea7aa45e46387fc71e75d09ded3a46a.tar.gz
3367
Solution to a minor puzzle that came up during today's lesson with Ella:
some sandboxes were showing the address of text results, while others
were showing their contents. It took a while to realize that the
distinction lay in whether the sandbox was saving the results in a text
variable:

  new [abc]
  => <some address>
  x:text <- new [abc]
  => abc

It took *much* longer to realize why I couldn't make the first case work
like the second. Eventually I realized why: recipes were reclaiming
their results if they weren't 'escaping' -- that is, being saved in a
variable in the caller so they could be used later.

Any solution to this would be a hack, so I'm going to just leave it
alone. Type abbreviations should help minimize the extra typing needed
to get sandboxes to show text contents.
Diffstat (limited to '073wait.cc')
0 files changed, 0 insertions, 0 deletions
class='alt'>
9275c95 ^



9846256 ^
9275c95 ^

9275c95 ^

fb022f5 ^
19472f7 ^

9275c95 ^
720d728 ^


4d33242 ^





4d33242 ^






9275c95 ^






689d6d8 ^


015d065 ^
7df7fe4 ^
f7ab5dd ^

7df7fe4 ^
16de708 ^

7df7fe4 ^
16de708 ^
e43cdbe ^

7df7fe4 ^
16de708 ^



9275c95 ^
e43cdbe ^


7df7fe4 ^
16de708 ^

9275c95 ^
e43cdbe ^















8d5d27a ^
e43cdbe ^

8d5d27a ^
e43cdbe ^

8d5d27a ^
e43cdbe ^




8d5d27a ^
9275c95 ^


156f978 ^
e43cdbe ^
156f978 ^
e43cdbe ^
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119