about summary refs log tree commit diff stats
path: root/070text.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-01-30 12:07:24 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-01-30 12:09:12 -0800
commit007382e2a92b743ba50e6bd87d637ff7c559212f (patch)
tree719b3b8461b1f343fb57e748eefe0817e45ecb8c /070text.mu
parent1cfcb62fa11e2f57fb982500c7df810826988dfc (diff)
downloadmu-007382e2a92b743ba50e6bd87d637ff7c559212f.tar.gz
2618 - support stashing booleans
Diffstat (limited to '070text.mu')
-rw-r--r--070text.mu8
1 files changed, 8 insertions, 0 deletions
diff --git a/070text.mu b/070text.mu
index 4dc138a7..ca49c2ce 100644
--- a/070text.mu
+++ b/070text.mu
@@ -312,6 +312,14 @@ recipe to-text n:number -> result:address:shared:array:character [
   }
 ]
 
+recipe to-text x:boolean -> result:address:shared:array:character [
+  local-scope
+  load-ingredients
+  n:number <- copy x:boolean
+  result <- to-text n
+]
+
+
 recipe buffer-to-array in:address:shared:buffer -> result:address:shared:array:character [
   local-scope
   load-ingredients