08.09.07

Exercise 9.12

Posted in Uncategorized at 9:13 pm by admin

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)

1 Comment »

  1. Kazu Yamamoto said,

    February 5, 2009 at 9:06 pm

    “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 Comment