The scala standard library is deficient in many ways. This library is an attempt to rebuild it with some attention given to consistency, performance, and correctness. See views for some details.
See overview for the project layout.
Suggested contents for build.sbt
- note this syntax requires sbt 0.13.7, the "blank lines are optional" release.
name := "scratch"
resolvers += "bintray/paulp" at "https://dl.bintray.com/paulp/maven"
scalaVersion := "2.11.6"
initialCommands in console := "import psp._, std._, api._, StdEq._"
libraryDependencies += "org.improving" %% "psp-std" % "0.5.5"
Then sbt console
and you can look around.
scala> Array(1, 2) === Array(1, 2)
res0: Boolean = true
scala 2.11, java 7+.