Examples and exercises from
Functional Programming in Scala
Paul Chiusano and Rúnar Bjarnason
(2014) Manning Publications
http://www.manning.com/bjarnason/
$ git clone https://github.com/CarloMicieli/fpinscala
$ sbt test
-
What is functional programming?
-
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.
-
Functional data structures
-
Handling errors without exceptions
-
Strictness and laziness
-
Purely functional state
-
Purely functional parallelism
-
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.
-
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
-
Monoids
-
Monads
-
Applicative and traversable functors
-
External effects and I/O
-
Local effects and mutable state
-
Stream processing and incremental I/O
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.
This code is open source software licensed under the Apache 2.0 License.