diff orange/util/io.d @ 11:27c5b6c5425f 0.0.1

Deserialization now works as well using D2. Compiles again with D1 and Tango. Cleaned up orange.util.io a bit.
author Jacob Carlborg <doob@me.com>
date Sun, 25 Jul 2010 13:25:55 +0200
parents 99c52d46822a
children
line wrap: on
line diff
--- a/orange/util/io.d	Sat Jul 24 19:37:45 2010 +0200
+++ b/orange/util/io.d	Sun Jul 25 13:25:55 2010 +0200
@@ -39,8 +39,7 @@
 		
 	
 	else
-		foreach(t ; a)
-			write(t);
+		write(args);
 }
 
 /**
@@ -63,10 +62,5 @@
 	}
 
 	else
-	{
-		foreach(t ; args)
-			write(t);
-		
-		write("\n");
-	}
+		writeln(args);
 }
\ No newline at end of file