Last active
August 29, 2015 14:07
-
-
Save xuwei-k/5028ccf9a4d4af890d0f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scalaVersion := "2.11.3" | |
libraryDependencies += "org.scalaz" %% "scalaz-core" % "7.0.6" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package si8899 | |
object Main { | |
def main(args: Array[String]): Unit = { | |
scalaz.Rope.empty[String].filter(_ => true) | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[error] (run-main-0) java.lang.AbstractMethodError: scalaz.WrappedRope.filterImpl(Lscala/Function1;Z)Ljava/lang/Object; | |
java.lang.AbstractMethodError: scalaz.WrappedRope.filterImpl(Lscala/Function1;Z)Ljava/lang/Object; | |
at scala.collection.TraversableLike$class.filter(TraversableLike.scala:270) | |
at scalaz.WrappedRope.filter(Rope.scala:114) | |
at si8899.Main$.main(Main.scala:6) | |
at si8899.Main.main(Main.scala) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:483) | |
[trace] Stack trace suppressed: run last compile:run for the full output. | |
java.lang.RuntimeException: Nonzero exit code: 1 | |
at scala.sys.package$.error(package.scala:27) | |
[trace] Stack trace suppressed: run last compile:run for the full output. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment