Learn Scala with the Koans Daniel Hinojosa and Dianne Marsh OSCON 2012 Monday, July 16, 12
Download Mercurial users: hg clone ssh://hg@bitbucket.org/dmarsh/scalakoansexercises Everyone else: Get from USB (provides settings for IntelliJ, Eclipse as well) From home: https://bitbucket.org/dmarsh/scalakoansexercises/get/tip.zip Monday, July 16, 12
Getting Started Linux and Mac: $ ./sbt Windows: c:scalakoansexercises> .\sbt.bat (Linux users)-- You may need to change your sbt to be executable, like: > chmod +x ./sbt Monday, July 16, 12
Compile and Run Type the following at the SBT prompt: > test:compile Run all the koans with: > ~test-only org.functionalkoans.forscala.Koans Or, you can run specific koans (e.g., AboutAsserts) with: > ~test-only org.functionalkoans.forscala.AboutAsserts Monday, July 16, 12
Finding Your Path Use this koan: To mediate on: AboutAsserts How the koans work AboutValAndVar How val and var declarations differ How to specify values for common data AboutLiterals types (more online) http://www.scalakoans.org/finding-path Monday, July 16, 12
We’re here to help Monday, July 16, 12
Solutions Guide Mercurial users: hg clone ssh://hg@bitbucket.org/dickwall/scala-koans From home: https://bitbucket.org/dickwall/scala-koans/get/tip.zip Monday, July 16, 12
Contributing • http://scalakoans.org Monday, July 16, 12
Contacting us Daniel Hinojosa -- Albuquerque, NM dhinojosa@evolutionnext.com @dhinojosa Dianne Marsh -- Ann Arbor, MI dmarsh@srtsolutions.com @dmarsh Monday, July 16, 12
Recommend
More recommend