Created
October 16, 2013 17:04
-
-
Save jacekkolodziejski/7011249 to your computer and use it in GitHub Desktop.
This file contains 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
object S99_P14 { | |
def duplicate[T](ts: Seq[T]): Seq[T] = ts.flatMap(e => List(e, e)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment