about summary refs log tree commit diff stats
path: root/061text.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-09-12 21:02:38 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-09-12 21:02:38 -0700
commitdb01afa844004406da3a6ab9b306219c807e057e (patch)
treedd74fb6acbb9f5163c8be10b8c6cea9d1295b390 /061text.mu
parente309b9e82ded3ece3985a214cbd432b45de1ba4d (diff)
downloadmu-db01afa844004406da3a6ab9b306219c807e057e.tar.gz
3343
Reorganize layers a bit so I can add a couple of scenarios testing
static dispatch *before* I add `stash` into the mix.
Diffstat (limited to '061text.mu')
-rw-r--r--061text.mu15
1 files changed, 0 insertions, 15 deletions
diff --git a/061text.mu b/061text.mu
index 2fa60f1c..5e3f798a 100644
--- a/061text.mu
+++ b/061text.mu
@@ -1,21 +1,6 @@
 # Some useful helpers for dealing with text (arrays of characters)
 type text = address:array:character
 
-# to-text-line gets called implicitly in various places
-# define it to be identical to 'to-text' by default
-def to-text-line x:_elem -> y:address:array:character [
-  local-scope
-  load-ingredients
-  y <- to-text x
-]
-
-# variant for arrays (since we can't pass them around otherwise)
-def array-to-text-line x:address:array:_elem -> y:address:array:character [
-  local-scope
-  load-ingredients
-  y <- to-text *x
-]
-
 def equal a:text, b:text -> result:boolean [
   local-scope
   load-ingredients