Revision: 1583
http://assorted.svn.sourceforge.net/assorted/?rev=1583&view=rev
Author: yangzhang
Date: 2010-03-18 19:54:46 +0000 (Thu, 18 Mar 2010)
Log Message:
-----------
added =>?
Modified Paths:
--------------
scala-commons/trunk/src/commons/Misc.scala
Modified: scala-commons/trunk/src/commons/Misc.scala
===================================================================
--- scala-commons/trunk/src/commons/Misc.scala 2010-03-18 19:50:29 UTC (rev 1582)
+++ scala-commons/trunk/src/commons/Misc.scala 2010-03-18 19:54:46 UTC (rev 1583)
@@ -5,6 +5,11 @@
object Misc {
/**
+ * Shorthand for PartialFunction. May be built in to Scala 2.8.
+ */
+ type =>?[-A, +B] = PartialFunction[A, B]
+
+ /**
* @deprecated Use {@link Iterator.from} instead.
*/
@serializable
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|