about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-02-06 12:51:25 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-02-06 12:51:25 -0800
commitb8ce12120ac310a20441b46d088010db03c3fa89 (patch)
treec9ca0bc7b5552b5e2b69466833119ce8f6fbc537
parent84c59f17c3a569d647ed5d2550f3a3e73d6d1149 (diff)
downloadmu-b8ce12120ac310a20441b46d088010db03c3fa89.tar.gz
2634
-rw-r--r--070text.mu6
1 files changed, 6 insertions, 0 deletions
diff --git a/070text.mu b/070text.mu
index ca49c2ce..3afabfe9 100644
--- a/070text.mu
+++ b/070text.mu
@@ -319,6 +319,12 @@ recipe to-text x:boolean -> result:address:shared:array:character [
   result <- to-text n
 ]
 
+recipe to-text x:address:_elem -> result:address:shared:array:character [
+  local-scope
+  load-ingredients
+  n:number <- copy x
+  result <- to-text n
+]
 
 recipe buffer-to-array in:address:shared:buffer -> result:address:shared:array:character [
   local-scope