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
import scalaz._ | |
import Scalaz._ | |
object console extends App { | |
type ListTOption[A] = ListT[Option, A] | |
val v1: Option[List[\/[String, Int]]] = 1.right[String].point[List].point[Option] | |
val v2: Option[List[\/[String, Int]]] = 2.right[String].point[List].point[Option] |
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
import scala.language.higherKinds | |
import scala.language.implicitConversions | |
import scalaz._ | |
import Scalaz._ | |
import shapeless._ | |
object console { | |
case class ServiceA(name: String) | |
case class ServiceB(name: String, sa: ServiceA) |
NewerOlder