10 First-class functions: Part 1
In this chapter
- Discover the power of first-class values.
- Learn how to make first-class function versions of syntax.
- Learn to wrap syntax using higher-order functions.
- Apply two refactorings that use first-class and higher-order functions.
You are now in the waiting room to the second part of this book. This room contains a door labeled “first-class functions.” This chapter will open that door and reveal a new world of powerful ideas related to first-class functions. What are first-class functions? What are they used for? How can we make them? All of these questions will be addressed in this chapter. We’ll ...