in the middle of 3.4
before 3.11 and converting to foldLeft
before modifying append
up to 3.15
until 3.5 for Trees