Exercise 9.12

Instances where we can curry and convert anonymous functions to sections are easy to find, for example from Exercise 5.5:

doubleEach'' :: [Int] -> [Int]
doubleEach'' = map (*2)

One response to “Exercise 9.12”

  1. “this chapter” meanss Chapter 9. So, backing Chapter 5 is not appropriate.
    “twice” of Ex 9.7 can be written:
    twice f = f.f

Leave a Reply

Your email address will not be published. Required fields are marked *