05.03.2016 Views

Programming in Scala”

fpiscompanion

fpiscompanion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CONTENTS<br />

H<strong>in</strong>ts for exercises <strong>in</strong> chapter 11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60<br />

H<strong>in</strong>ts for exercises <strong>in</strong> chapter 12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62<br />

H<strong>in</strong>ts for exercises <strong>in</strong> chapter 13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63<br />

H<strong>in</strong>ts for exercises <strong>in</strong> chapter 15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64<br />

Answers to exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65<br />

Answers to exercises for chapter 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65<br />

Answers to exercises for chapter 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66<br />

Answers to exercises for chapter 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76<br />

Answers to exercises for chapter 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79<br />

Answers to exercises for chapter 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85<br />

Answers to exercises for chapter 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90<br />

Answers to exercises for chapter 8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95<br />

Answers to exercises for chapter 9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100<br />

Answers to exercises for chapter 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105<br />

Answers to exercises for chapter 11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112<br />

Answers to exercises for chapter 12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121<br />

Answers to exercises for chapter 13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128<br />

Answers to exercises for chapter 14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130<br />

Answers to exercises for chapter 15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132<br />

A brief <strong>in</strong>troduction to Haskell, and why it matters . . . . . . . . . . . . . . . . . . . . . . 138<br />

About Haskell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138<br />

Haskell syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139<br />

Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!