• By Christian Panadero Martinez
  • ·
  • Posted 27 Apr 2018
Functional lists

In the previous posts we stated that functional programs should limit side effects. If we take that hypothesis as true, how can we implement a List? At a first glance, a data structure to hold data seems the opposite to avoid side effects. In this post, we will see how to implement a List in Scala...