From db01afa844004406da3a6ab9b306219c807e057e Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 12 Sep 2016 21:02:38 -0700 Subject: 3343 Reorganize layers a bit so I can add a couple of scenarios testing static dispatch *before* I add `stash` into the mix. --- 061text.mu | 15 --------------- 1 file changed, 15 deletions(-) (limited to '061text.mu') 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 -- cgit 1.4.1-2-gfad0