July 2023
Intermediate to advanced
670 pages
17h 13m
English
In this chapter, you learned how to make effective use of type classes, and how to use a new feature of Haskell’s type system called existential types. While existential types are not a feature that you’ll use frequently, they are a critical tool for working with certain types of real-world workloads where you can’t otherwise easily deal with the variety and flexibility of the data that you need to support. The limitations that existential types put on how you can use your data will also be useful later on in this book when you learn how to work with certain types of mutable data.
Read now
Unlock full access