Skip to content

Instantly share code, notes, and snippets.

@justinhj
Created December 22, 2019 23:27
Show Gist options
  • Save justinhj/49421388807274dd5cc9ec38ead18067 to your computer and use it in GitHub Desktop.
Save justinhj/49421388807274dd5cc9ec38ead18067 to your computer and use it in GitHub Desktop.
/*\
{\o/}
/_\
\*|*/
///|\\\
////|\\\\
/////|\\\\\
object MerryX
{def main(santa
: Array[String]){
val message = List(
"year!", "the", "of",
"time","wonderful");val
ms2 = List("most", "the",
"It's"); val out = (message
++ ms2).foldLeft ( List.empty
[String] ) {_ ++ List( " " , _)
}; println(out.reverse.mkString);
/**
***
***
{{***/}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment