posted 11 years ago
I'm trying a simple function chaining in Scala, but do not understand the strange output! I pass newChars as a List to a function. The value of the List are just a, b, c, d
prints
I was expecting the third println to actually print b and c. But surprisingly it prints a and b. I'm sure that I'm doing something wrong.
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!