# Chapter Exercises ## Review of types 1. `[[Bool]]` 2. (c) 3. (d) 4. (b) ## Reviewing currying 1. `"woops mrow wooho!"` 2. `"1 mrow haha"` 3. `"woops mrow 2 mrow haha"` 4. `"woops mrow blue mrow haha"` 5. `"pink mrow haha mrow green mrow woops mrow blue"` 6. `"are mrow Pugs mrow awesome"` ## Recursion ### Exercise 1 ``` dividedBy 15 2 = go 15 2 0 = go 13 2 1 = go 11 2 2 = go 9 2 3 = go 7 2 4 = go 5 2 5 = go 3 2 6 = go 1 2 7 = (7,1) ``` ### Exercise 2 & 3 see src/recursion.hs ### Exercise 4 see src/dividedby.hs ### Exercise 5 see src/mccarthy91.hs ## Numbers into words see src/wordnumber.hs