Skip to content

Instantly share code, notes, and snippets.

@andrewharmellaw
Created May 20, 2013 18:45
Show Gist options
  • Save andrewharmellaw/5614337 to your computer and use it in GitHub Desktop.
Save andrewharmellaw/5614337 to your computer and use it in GitHub Desktop.
Scala Ranges (basic)
val someNumbers = Range(0, 10) // gives me a scala.collection.immmutable.Range object which contains every Int from 0 to 9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment