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
object CountActor { | |
sealed trait CountActorMessages | |
case object Increment extends CountActorMessages | |
case object CurrentCount extends CountActorMessages | |
def props: Props = Props(new CountActor) | |
} | |
private class CountActor extends Actor { | |
import CountActor._ |
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 cakesolutions.example | |
import cakesolutions.config._ | |
import scala.concurrent.duration.FiniteDuration | |
import scala.util.Try | |
import shapeless._ | |
object InvariantConfig { | |
case object NameShouldBeNonEmptyAndLowerCase extends Exception | |
case object ShouldNotBeNegative extends Exception |
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
diff --git a/project/ScalazCamelBuild.scala b/project/ScalazCamelBuild.scala | |
index bf7b548..7a11532 100644 | |
--- a/project/ScalazCamelBuild.scala | |
+++ b/project/ScalazCamelBuild.scala | |
@@ -6,7 +6,7 @@ object ScalazCamelBuild extends Build { | |
lazy val buildSettings = Seq( | |
organization := "scalaz.camel", | |
version := "0.4-SNAPSHOT", | |
- scalaVersion := "2.9.2" | |
+ scalaVersion := "2.10.2" |