List implementation in Swift
Functional data structure is slightly different from object oriented one. It have persistence and not mutated. I implement this data structure in Swift which have characteristic both object oriented and functional programming. The first example is list.