Here's what I'm trying to do:
val StringSpace = charList.reduce(_ + _ + _ + _ + " ")
val StringList = //Tokenize StringSpace with " "
but it returns missing parameter type within first line.
So how can someone actually join lists into half or quarter size in scala?
e.g: From
List ("a" , "b" , "c" , "d" , "e" , "f" , "g" , "h")
To:
List("abcd", "efgh")