diff modules/array.tp @ 186:35d2cc193d99

Add string conversion inside array join so callers don't need to worry about doing string conversions themselves
author Mike Pavone <pavone@retrodev.com>
date Mon, 26 Aug 2013 17:27:17 -0700
parents ca249978ae96
children abde5d2918cf
line wrap: on
line diff
--- a/modules/array.tp	Sun Aug 25 14:45:00 2013 -0700
+++ b/modules/array.tp	Mon Aug 26 17:27:17 2013 -0700
@@ -105,7 +105,7 @@
 
 	join <- :sep {
 		if: length > 0 {
-			str <- get: 0
+			str <- string: (get: 0)
 			idx <- 1
 			l <- length
 			while: { idx < l } do: {