diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-12-03 23:25:40 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-12-03 23:25:40 -0800 |
commit | 4a48bedcd1d708a43d43dc6259a4e45c52ea3d00 (patch) | |
tree | 85c1b7310cca932797d727a3de8da96eb175d8da /059to_text.mu | |
parent | ef7d834fdd826977cd8d43253052a7b8e1c5aa72 (diff) | |
download | mu-4a48bedcd1d708a43d43dc6259a4e45c52ea3d00.tar.gz |
4134 - 'input' = 'ingredient'
Diffstat (limited to '059to_text.mu')
-rw-r--r-- | 059to_text.mu | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/059to_text.mu b/059to_text.mu index 520fab33..d45afb0a 100644 --- a/059to_text.mu +++ b/059to_text.mu @@ -8,14 +8,14 @@ # define it to be identical to 'to-text' by default def to-text-line x:_elem -> y:text [ local-scope - load-ingredients + load-inputs y <- to-text x ] # variant for arrays (since we can't pass them around otherwise) def array-to-text-line x:&:@:_elem -> y:text [ local-scope - load-ingredients + load-inputs y <- to-text *x ] @@ -33,7 +33,7 @@ scenario array-to-text-line-early-warning-for-static-dispatch [ # finally, a specialization for single characters def to-text c:char -> y:text [ local-scope - load-ingredients + load-inputs y <- new character:type, 1/capacity *y <- put-index *y, 0, c ] |