Created
February 8, 2012 11:52
-
-
Save seratch/1768483 to your computer and use it in GitHub Desktop.
SIP 11 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
| $ scala_2.10.0-M1 -Xexperimental | |
| Welcome to Scala version 2.10.0-M1 (Java HotSpot(TM) Client VM, Java 1.6.0_18). | |
| Type in expressions to have them evaluated. | |
| Type :help for more information. | |
| scala> val name = "Martin" | |
| name: String = Martin | |
| scala> val intro = s"My name is $name" | |
| intro: String = My name is Martin | |
| scala> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment