Skip to content

Commit

Permalink
use scalaz 7
Browse files Browse the repository at this point in the history
  • Loading branch information
ymasory committed Aug 16, 2012
1 parent 83b61ee commit fd96c7a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions build.sbt
Expand Up @@ -21,13 +21,16 @@ mainClass in (Compile, run) := Some("com.example.Main")


//dependencies //dependencies
libraryDependencies ++= Seq ( 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" "org.scalacheck" %% "scalacheck" % "1.9" % "test"
) )


//improve REPL //improve REPL
initialCommands := """|import scalaz._ initialCommands := """|import scalaz._
|import Scalaz._ |import std.option._
|import std.list._
|println("scalaz 7 loaded!")
|""".stripMargin |""".stripMargin


//only uncomment if you need dependencies from the snapshots repo //only uncomment if you need dependencies from the snapshots repo
Expand Down
4 changes: 2 additions & 2 deletions src/main/scala/Main.scala
@@ -1,8 +1,8 @@
package com.example package com.example


import scalaz._ import scalaz._
import Scalaz._ import effect._
import effects._ import IO._


object Main { object Main {
import BuildInfo._ import BuildInfo._
Expand Down

0 comments on commit fd96c7a

Please sign in to comment.