A companion booklet to "Functional Programming in Scala"
$7.99
Minimum price
$7.99
Suggested price

A companion booklet to "Functional Programming in Scala"

Chapter notes, errata, hints, and answers to exercises

About the Book

This booklet contains chapter notes, hints, solutions to exercises, addenda, and errata for the book "Functional Programming in Scala" by Paul Chiusano and Runar Bjarnason. This material is freely available online, but is compiled here as a convenient companion to the book itself. All code has syntax-highlighting for easy reading.

A printed version can be obtained at https://www.createspace.com/5325404

About the Author

Runar Bjarnason
Rúnar Óli Bjarnason

Rúnar Bjarnason is one of two authors of Functional Programming in Scala.

About the Contributors

Paul Chiusano
Paul Chiusano
Rúnar Óli Bjarnason
Rúnar Óli Bjarnason

Table of Contents

  • About this booklet
    • Why make this?
    • License
  • Errata
  • Chapter notes
    • Getting answers to your questions
    • Notes on chapter 1: What is functional programming?
    • Notes on chapter 2: Getting started
    • Notes on chapter 3: Functional data structures
    • Notes on chapter 4: Handling errors without exceptions
    • Notes on chapter 5: Strictness and laziness
    • Notes on chapter 6: Purely functional state
    • Notes on chapter 7: Purely functional parallelism
    • Notes on chapter 8: Property-based testing
    • Notes on chapter 9: Parser combinators
    • Notes on chapter 10: Monoids
    • Notes on chapter 11: Monads
    • Notes on chapter 12: Applicative and traversable functors
    • Notes on chapter 13: External effects and I/O
    • Notes on chapter 14: Local effects and mutable state
    • Notes on chapter 15: Stream processing and incremental I/O
  • Hints for exercises
    • Hints for exercises in chapter 2
    • Hints for exercises in chapter 3
    • Hints for exercises in chapter 4
    • Hints for exercises in chapter 5
    • Hints for exercises in chapter 6
    • Hints for exercises in chapter 7
    • Hints for exercises in chapter 8
    • Hints for exercises in chapter 9
    • Hints for exercises in chapter 10
    • Hints for exercises in chapter 11
    • Hints for exercises in chapter 12
    • Hints for exercises in chapter 13
    • Hints for exercises in chapter 15
  • Answers to exercises
    • Answers to exercises for chapter 2
    • Answers to exercises for chapter 3
    • Answers to exercises for chapter 4
    • Answers to exercises for chapter 5
    • Answers to exercises for chapter 6
    • Answers to exercises for chapter 7
    • Answers to exercises for chapter 8
    • Answers to exercises for chapter 9
    • Answers to exercises for chapter 10
    • Answers to exercises for chapter 11
    • Answers to exercises for chapter 12
    • Answers to exercises for chapter 13
    • Answers to exercises for chapter 14
    • Answers to exercises for chapter 15
  • A brief introduction to Haskell, and why it matters
    • About Haskell
    • Haskell syntax
    • Conclusion

Causes Supported

Liberty in North Korea

http://libertyinnorthkorea.org

Liberty in North Korea (LiNK's) Mission: Redefining North Korea by focusing on the people, while rescuing and providing resettlement support to North Korean refugees and pursuing an end to the North Korea crisis.

Liberty in North Korea (LiNK) is the only full-time grassroots organization in North America devoted to the North Korean human rights and humanitarian crises. LiNK provides protection and aid to North Korean refugees hiding in China and, utilizing a modern-day underground railroad through Southeast Asia, rescues refugees and helps them to reach freedom. LiNK’s global grassroots movement works to redefine public perception on North Korea, shifting attention away from the politics and onto the people, and provides a way for concerned citizens to come alongside the North Korean people and help bring about positive change. LiNK also works to develop people-focused strategies that will have the potential to promote change inside North Korea in the long term.

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub