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. Kazu Yamamoto says:

    “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