- Page 4 and 5: CONTENTS Hints for exercises in cha
- Page 6 and 7: About this booklet This booklet con
- Page 8 and 9: Errata 4 run(listOfN(3, "ab" | "cad
- Page 10 and 11: Chapter notes Chapter notes provide
- Page 12 and 13: Chapter notes 8 Parametricity When
- Page 14 and 15: Chapter notes 10 data structures, b
- Page 16 and 17: Chapter notes 12 Notes on chapter 4
- Page 18 and 19: Chapter notes 14 like this will res
- Page 20 and 21: Chapter notes 16 This may seem like
- Page 22 and 23: Chapter notes 18 case class Moore[S
- Page 24 and 25: Chapter notes 20 Notes on chapter 7
- Page 26 and 27: Chapter notes 22 forAll(Gen.listOf(
- Page 28 and 29: Chapter notes 24 grammars require l
- Page 30 and 31: Chapter notes 26 Single pass parsin
- Page 32 and 33: Chapter notes 28 This reads: “for
- Page 34 and 35: Chapter notes 30 That is, if we hav
- Page 36 and 37: Chapter notes 32 type Id[A] = A def
- Page 38 and 39: Chapter notes 34 def map[R,A,B](f:
- Page 40 and 41: Chapter notes 36 counit is pronounc
- Page 42 and 43: Chapter notes 38 Notes on chapter 1
- Page 44 and 45: Chapter notes 40 apply(u, unit(y))
- Page 46 and 47: Chapter notes 42 Fusion law: sequen
- Page 48 and 49: Chapter notes 44 trait Translate[F[
- Page 50 and 51: Chapter notes 46 of a value separat
- Page 52 and 53:
Chapter notes 48 Each of these oper
- Page 54 and 55:
Hints for exercises This section co
- Page 56 and 57:
Hints for exercises 52 Exercise 3.1
- Page 58 and 59:
Hints for exercises 54 Exercise 5.0
- Page 60 and 61:
Hints for exercises 56 Exercise 7.0
- Page 62 and 63:
Hints for exercises 58 Exercise 9.0
- Page 64 and 65:
Hints for exercises 60 Exercise 10.
- Page 66 and 67:
Hints for exercises 62 Hints for ex
- Page 68 and 69:
Hints for exercises 64 Exercise 13.
- Page 70 and 71:
Answers to exercises 66 def curry[A
- Page 72 and 73:
Answers to exercises 68 def dropWhi
- Page 74 and 75:
Answers to exercises 70 def reverse
- Page 76 and 77:
Answers to exercises 72 /* The disc
- Page 78 and 79:
Answers to exercises 74 @annotation
- Page 80 and 81:
Answers to exercises 76 def leaf[A]
- Page 82 and 83:
Answers to exercises 78 def travers
- Page 84 and 85:
Answers to exercises 80 def toList:
- Page 86 and 87:
Answers to exercises 82 def map[B](
- Page 88 and 89:
Answers to exercises 84 def zipWith
- Page 90 and 91:
Answers to exercises 86 def double(
- Page 92 and 93:
Answers to exercises 88 def _ints(c
- Page 94 and 95:
Answers to exercises 90 sealed trai
- Page 96 and 97:
Answers to exercises 92 def sequenc
- Page 98 and 99:
Answers to exercises 94 } def choic
- Page 100 and 101:
Answers to exercises 96 Exercise 8.
- Page 102 and 103:
Answers to exercises 98 * the given
- Page 104 and 105:
Answers to exercises 100 val forkPr
- Page 106 and 107:
Answers to exercises 102 for { digi
- Page 108 and 109:
Answers to exercises 104 /** Displa
- Page 110 and 111:
Answers to exercises 106 Exercise 1
- Page 112 and 113:
Answers to exercises 108 def foldMa
- Page 114 and 115:
Answers to exercises 110 trait Fold
- Page 116 and 117:
Answers to exercises 112 def toList
- Page 118 and 119:
Answers to exercises 114 since it
- Page 120 and 121:
Answers to exercises 116 compose(co
- Page 122 and 123:
Answers to exercises 118 join(join(
- Page 124 and 125:
Answers to exercises 120 case class
- Page 126 and 127:
Answers to exercises 122 trait Appl
- Page 128 and 129:
Answers to exercises 124 map2(unit(
- Page 130 and 131:
Answers to exercises 126 def sequen
- Page 132 and 133:
Answers to exercises 128 override d
- Page 134 and 135:
Answers to exercises 130 /* * Exerc
- Page 136 and 137:
Answers to exercises 132 } // Remov
- Page 138 and 139:
Answers to exercises 134 def sum2:
- Page 140 and 141:
Answers to exercises 136 Exercise 1
- Page 142 and 143:
A brief introduction to Haskell, an
- Page 144 and 145:
A brief introduction to Haskell, an
- Page 146 and 147:
A brief introduction to Haskell, an
- Page 148 and 149:
A brief introduction to Haskell, an
- Page 150 and 151:
A brief introduction to Haskell, an
- Page 152:
A brief introduction to Haskell, an