I'm trying to find a way to "join"/"groupby" 2 elements in a list as following :
List("a","b","c","d") -> List("ab","bc","cd")
With a functional style.
Would someone know how to do this?
Need I use reducer, fold, scan, other higher-order function?