/fpinscala

My answers to "Functional Programming in Scala" book exercises

Primary LanguageScalaApache License 2.0Apache-2.0

Functional Programming in Scala

License Build Status Coverage Status

Examples and exercises from

Cover

Functional Programming in Scala
Paul Chiusano and Rúnar Bjarnason
(2014) Manning Publications
http://www.manning.com/bjarnason/

How to run

$ git clone https://github.com/CarloMicieli/fpinscala
$ sbt test

My student guide

  1. What is functional programming?

  2. Getting started with functional programming in Scala

    • Hughes, John. "Why functional programming matters." The computer journal 32.2 (1989): 98-107.
    • Braithwaite, Reginald. Why Why Functional Programming Matters Matters (blog). 2007. Retrieved from here.
  3. Functional data structures

  4. Handling errors without exceptions

  5. Strictness and laziness

  6. Purely functional state

  7. Purely functional parallelism

  8. Property-based testing

    • Claessen, Koen, and Hughes, John. "QuickCheck: a lightweight tool for random testing of Haskell programs." Acm sigplan notices 46.4 (2011): 53-64.
    • Hughes, John. "QuickCheck testing for fun and profit." Practical Aspects of Declarative Languages. Springer Berlin Heidelberg, 2007. 1-32.
  9. Parser combinators

    • Hutton, G. (2016). Programming in Haskell. Cambridge University Press.
    • Hutton, Graham, and Erik Meijer. "Monadic parser combinators." (1996).
    • Scott Wlaschin. Understanding parser combinators: a deep dive. NDC Oslo (2016). YouTube recording
  10. Monoids

  11. Monads

  12. Applicative and traversable functors

  13. External effects and I/O

  14. Local effects and mutable state

  15. Stream processing and incremental I/O

Contribution policy

Contributions via GitHub pull requests are gladly accepted from their original author. Along with any pull requests, please state that the contribution is your original work and that you license the work to the project under the project's open source license. Whether or not you state this explicitly, by submitting any copyrighted material via pull request, email, or other means you agree to license the material under the project's open source license and warrant that you have the legal authority to do so.

License

This code is open source software licensed under the Apache 2.0 License.