September 2021
Intermediate to advanced
504 pages
12h 50m
English
This chapter covers
List and TreeWe said in chapter 1 that functional programs don’t update variables or modify mutable data structures. The emphasis on keeping variables immutable raises pressing questions: what sort of data structures can we use in functional programming, how do we define them in Kotlin, and how do we operate on them?
This chapter teaches the concept of functional data structures by writing our own implementations of a singly linked list and ...
Read now
Unlock full access