Functional programming, chapter 1: values, types, expressions, functions

preview_player
Показать описание
Functional programming in the mathematical spirit.

Long and difficult, yet boring explanations given in excruciating detail.

Start by reading the slides, go through the worked examples and exercises. Watch the video when you cannot fully understand something in the slides.

Chapter 1.

Values, types, and functions in Scala
Named functions and anonymous functions
Examples of collections, `map`, `filter`, `sum`, etc.
Higher-order functions
How to translate mathematical formulas into Scala code
Examples and exercises

Рекомендации по теме
Комментарии
Автор

I appreciate that you suggest in your bullet that Java after 8 might be supportive of functional programming. I posit that C++ after C++11 is too. Moreover, C++14 and C++17 are even more supportive. Don't get me wrong, there is a gaping chasm between C++ and Haskell. But the C++ standardisation is being strongly influenced by functional programming.

TimTeatro
Автор

Do you have solutions for the exercises ?

najmuddinquraishi
Автор

Bravo! How does Coq fit into the story in your opinion?

pairadeau