This file contains hidden or 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
// Note this requires scalaz-core 7.0 added to the classpath. | |
import scalaz._ | |
import Scalaz._ | |
import Lens._ | |
case class Address(street: String, country: String) | |
case class User(name: String, address: Address) | |
val address = Address("Monkey Street", "England") | |
val user = User("Sean", address) |