From 60ee9924b7449ec64cffcecd6accd1a856c4fa3a Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Mon, 1 Aug 2011 22:45:12 +0000 Subject: Tired of ugly-printing in the repl, I sort of f... Tired of ugly-printing in the repl, I sort of finished some old code for pretty printing token streams. It is at least a lot prettier than it once was, and I threw in some power mode helpers. Now you can do this. % scala -Dscala.repl.power Welcome to Scala version 2.10.0.r25427-b20110801144412 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_26). // .u turns a string into an URL like .r does into a regex, and .pp pretty prints the url scala> "https://raw.github.com/scalaz/scalaz/master/example/src/main/scala/scal az/example/ExampleIteratee.scala".u.pp package scalaz.example object ExampleIteratee { def main (args: Array[String]) = run import scalaz._ import Scalaz._ import IterV._ [etc it's all there in real life] } No review. --- src/scalap/scala/tools/scalap/Main.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/scalap') diff --git a/src/scalap/scala/tools/scalap/Main.scala b/src/scalap/scala/tools/scalap/Main.scala index 24f26e2b60..7254b00480 100644 --- a/src/scalap/scala/tools/scalap/Main.scala +++ b/src/scalap/scala/tools/scalap/Main.scala @@ -131,9 +131,9 @@ class Main { def asClasspathString = "" val context = DefaultJavaContext - val classes = IndexedSeq[ClassRep]() - val packages = IndexedSeq[ClassPath[AbstractFile]]() - val sourcepaths = IndexedSeq[AbstractFile]() + val classes = IndexedSeq() + val packages = IndexedSeq() + val sourcepaths = IndexedSeq() } } -- cgit v1.2.3