Technical requirements
For this chapter, the minimum requirement is Go 1.18, as we will be writing code using generics. All the code can be found on GitHub: https://github.com/PacktPublishing/Functional-Programming-in-Go./tree/main/Chapter8.
Some of the code in this chapter will build on top of functions created in both Chapter 5 and Chapter 6. Where necessary, I have copied over the relevant functions and types from those chapters into the Chapter8
subfolder. For example, Chapter8/LazyEvaluation/pkg
is a copy of Chapter5/Monads/pkg
and Chapter6/pkg
. This way, the examples in Chapter8
can always be run without requiring the other chapters.