changeset 129:c9974ac32369

Improve Dictionary pretty printing slightly
author Mike Pavone <pavone@retrodev.com>
date Fri, 05 Nov 2010 02:42:18 +0000
parents 5eedee9063dc
children 147dfc703161
files dict.rhope
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dict.rhope	Fri Nov 05 02:41:34 2010 +0000
+++ b/dict.rhope	Fri Nov 05 02:42:18 2010 +0000
@@ -261,7 +261,7 @@
 
 _Print Seq[dict,key:out]
 {
-	val <- String[[dict]Index[key]]
+	val <- [[String[[dict]Index[key]]]Split["\n"]]Join["\n\t"]
 	Print[ [[["\t"]Append[String[key]]]Append[":\t"]]Append[val] ]
 	{
 		,out <- [dict]Next[key]