Skip to content

Instantly share code, notes, and snippets.

@Openpalm
Created March 6, 2017 10:05
Show Gist options
  • Save Openpalm/73150b60c5cdff53d3ca4f61513d6b9c to your computer and use it in GitHub Desktop.
Save Openpalm/73150b60c5cdff53d3ca4f61513d6b9c to your computer and use it in GitHub Desktop.

Revisions

  1. Openpalm created this gist Mar 6, 2017.
    10 changes: 10 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    >> val blargh = List(1 to 255).toList
    blargh: List[Range.Inclusive] = List(
    Range(
    1,
    2,

    >> val blargh = List(1 to 255).head.toList
    blargh: List[Int] = List(
    1,
    2,