Skip to content

Instantly share code, notes, and snippets.

@kamiyaowl
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kamiyaowl/16897f11e6c9da1a5638 to your computer and use it in GitHub Desktop.
Save kamiyaowl/16897f11e6c9da1a5638 to your computer and use it in GitHub Desktop.
println(((s:String) => s.drop(5 + 7).take(5).zip(s.drop(5).take(7)).zip(s.take(5)).map{case ((a,b),c) => s"$a $b $c"}.++(s.drop(5 + 5).take(2).map{x => s" $x"}).mkString("\r\n"))("なかぬならなかせてみようホトトギス"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment