Created
January 12, 2012 10:02
-
-
Save ThomasAlexandre/1599662 to your computer and use it in GitHub Desktop.
Jfokus 2012 scala case class example
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
| case class Conference(name:String="JFokus",year:Int=2011,myTalk:Option[String]=None) | |
| val lastYear = Conference() | |
| val thisYear = Conference(year=2012,myTalk=Some("One-liners are your friend")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment