about summary refs log tree commit diff stats
path: root/087file.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 /087file.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 '087file.cc')
0 files changed, 0 insertions, 0 deletions