02-06 Mapping and Filtering (Introduction to Haskell)

preview_player
Показать описание
We define the map and filter functions on lists, two examples of higher-order functions.

00:00 Hiding the Prelude versions of map and filter
00:33 Recap: How map is supposed to work
02:28 Recap: How filter is supposed to work
05:39 Implementing map
10:03 Testing the reimplemented map function
10:58 Implementing filter
13:25 Using a case expression
16:59 Testing the reimplemented filter function
17:24 Using if-then-else
19:39 Using guards
21:51 Comparing the three different approaches to filter
Рекомендации по теме
Комментарии
Автор

Thank you for these videos. They have great quality and help a lot at learning the language.

AzulCat-ii
Автор

If any audio suggestion, you can use a quieter keyboard for video

Johnlm
visit shbcf.ru