Skip to content

Instantly share code, notes, and snippets.

@e0en
Created December 26, 2014 03:56
Show Gist options
  • Select an option

  • Save e0en/b834bfac2b3c7ee8ab46 to your computer and use it in GitHub Desktop.

Select an option

Save e0en/b834bfac2b3c7ee8ab46 to your computer and use it in GitHub Desktop.

Revisions

  1. e0en created this gist Dec 26, 2014.
    4 changes: 4 additions & 0 deletions gistfile1.scala
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    import com.twitter.util.Future

    var seq = Future(Seq(1,2,3))
    seq map { s => Map(s map {x => x -> x * 2}): _*) }