diff extendlib.rhope @ 47:6202b866d72c

Cleaned up constructor names and merged some other changes in to support the Rhope website
author Mike Pavone <pavone@retrodev.com>
date Tue, 22 Dec 2009 01:22:09 -0500
parents 914ad38f9b59
children a24eb366195c
line wrap: on
line diff
--- a/extendlib.rhope	Tue Dec 01 03:59:31 2009 -0500
+++ b/extendlib.rhope	Tue Dec 22 01:22:09 2009 -0500
@@ -57,7 +57,7 @@
 
 New Like@Dictionary[in:out]
 {
-	out <- New@Dictionary[]
+	out <- Dictionary[]
 }
 
 Key Value Map[list,worker:out]
@@ -254,7 +254,7 @@
 
 Dict Split[string,keydelim,entrydelim:out]
 {
-	out <- Fold[["_Dict Split"]Set Input[3, keydelim], New@Dictionary[], [string]Split[entrydelim]] 
+	out <- Fold[["_Dict Split"]Set Input[3, keydelim], Dictionary[], [string]Split[entrydelim]] 
 }
 
 Previous@List[list,index:prev index,not found]
@@ -485,7 +485,7 @@
 							fieldlist <- [Blueprint Of[value]]Get Fields
 							[fieldlist]First
 							{
-								list <- _Object to Dict[value, fieldlist, ~, New@Dictionary[]]
+								list <- _Object to Dict[value, fieldlist, ~, Dictionary[]]
 								out value <- Val[list]
 							}{
 								out value <- value
@@ -566,7 +566,7 @@
 
 Keys[container:out]
 {
-	out <- Fold["_Keys", New@List[], container]
+	out <- Fold["_Keys", (), container]
 }
 
 And[left,right:out]