Permalink
Browse files

use scalaz 7

  • Loading branch information...
1 parent 83b61ee commit fd96c7a7fcccf2d324238ded41ee8dae522354be @ymasory committed Aug 16, 2012
Showing with 7 additions and 4 deletions.
  1. +5 −2 build.sbt
  2. +2 −2 src/main/scala/Main.scala
View
@@ -21,13 +21,16 @@ mainClass in (Compile, run) := Some("com.example.Main")
//dependencies
libraryDependencies ++= Seq (
- "org.scalaz" %% "scalaz-core" % "6.0.4",
+ "org.scalaz" %% "scalaz-core" % "7.0.0-M2",
+ "org.scalaz" %% "scalaz-effect" % "7.0.0-M2",
"org.scalacheck" %% "scalacheck" % "1.9" % "test"
)
//improve REPL
initialCommands := """|import scalaz._
- |import Scalaz._
+ |import std.option._
+ |import std.list._
+ |println("scalaz 7 loaded!")
|""".stripMargin
//only uncomment if you need dependencies from the snapshots repo
@@ -1,8 +1,8 @@
package com.example
import scalaz._
-import Scalaz._
-import effects._
+import effect._
+import IO._
object Main {
import BuildInfo._

0 comments on commit fd96c7a

Please sign in to comment.