ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Functional programming, chapter 7. Monads and semimonads. Part 2: Laws and structure of monads

Автор: Sergei Winitzki

Загружено: 2018-05-27

Просмотров: 298

Описание: 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 7: Computations in a functor context II. Monads and semimonads. Part 2: Laws and structure of monads

How to derive the laws for flatMap from our intuitions about functor block computations
Deriving the laws for flatten from the laws for flatMap
Why flatten is equivalent to flatMap, and what it means to be "equivalent"
Why flatten has one law fewer than flatMap
How parametricity assures naturality laws
Worked examples showing how to verify the associativity law for all standard monads
Examples of incorrect implementation of flatten that violates the associativity law
Motivation for full monads and laws for the `pure` method
Deriving the laws for `pure` in terms of `flatten`
Reformulating the monad laws in terms of Kleisli functions
A simplified definition of "category" and "morphism"
How category theory provides a conceptual generalization of "lifting"
Deriving the laws of `pure`, `flatten`, and `flatMap` from the laws of Kleisli category
Structure of semigroups and monoids: how to build up semigroups and monoids from parts
Structure of semimonads and monads: building up new monads from previously given monads, functors, and contrafunctors
Worked examples with full derivations of laws for most of the constructions
Why certain constructions can be only semimonads but not full monads
Why there cannot be a contravariant monad
Exercises, with examples and counter-examples of semimonads and monads

Slides: https://github.com/winitzki/talks/blo...

Code examples: https://github.com/winitzki/scala-exa...

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Functional programming, chapter 7. Monads and semimonads. Part 2: Laws and structure of monads

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

2 of 2 - Functional programming, chapter 7. Monads and semimonads. Part 2: Laws and structure

2 of 2 - Functional programming, chapter 7. Monads and semimonads. Part 2: Laws and structure

Functional programming and declarative programming

Functional programming and declarative programming

Church encoding tutorial, part 1

Church encoding tutorial, part 1

The Mathematician's Weapon | An Intro to Category Theory, Abstraction and Algebra

The Mathematician's Weapon | An Intro to Category Theory, Abstraction and Algebra

Tutorials

Tutorials

Такую ТРИГОНОМЕТРИЮ ты еще не видел! Этот ЛАЙФХАК уничтожает сложные задачи!

Такую ТРИГОНОМЕТРИЮ ты еще не видел! Этот ЛАЙФХАК уничтожает сложные задачи!

Такой же, как Шойгу. Как живёт министр обороны Андрей Белоусов

Такой же, как Шойгу. Как живёт министр обороны Андрей Белоусов

Информационная инфляция: конец эпохи знаний

Информационная инфляция: конец эпохи знаний

Алгоритмы и структуры данных ФУНДАМЕНТАЛЬНЫЙ КУРС от А до Я. Графы, деревья, хеш таблицы и тд

Алгоритмы и структуры данных ФУНДАМЕНТАЛЬНЫЙ КУРС от А до Я. Графы, деревья, хеш таблицы и тд

РАЗБОР НЕКОТОРЫХ ЗАДАЧ ИЗ ОЛИМПИАДЫ ЭЙЛЕРА, ПЕРВЫЙ ЗАОЧНЫЙ ЭТАП ОТБОРА!

РАЗБОР НЕКОТОРЫХ ЗАДАЧ ИЗ ОЛИМПИАДЫ ЭЙЛЕРА, ПЕРВЫЙ ЗАОЧНЫЙ ЭТАП ОТБОРА!

Functional programming, chapter 2: The functional approach to collections in Scala

Functional programming, chapter 2: The functional approach to collections in Scala

Символы в музыке Баха - 9 цифр, одна пауза и воскресение в мажоре

Символы в музыке Баха - 9 цифр, одна пауза и воскресение в мажоре

Артем Шрайбман: почему Лукашенко отпустил Бабарико, Колесникову и других знаковых заключенных?

Артем Шрайбман: почему Лукашенко отпустил Бабарико, Колесникову и других знаковых заключенных?

Каково это — изобретать математику?

Каково это — изобретать математику?

КАК УСТРОЕН TCP/IP?

КАК УСТРОЕН TCP/IP?

К Вам домой постучала полиция - пять лет тюрьмы за пару кликов в интернете

К Вам домой постучала полиция - пять лет тюрьмы за пару кликов в интернете

Smooth Jazz Retro Vintage 1940s | Classic Winter Vibes & Cozy Jazz Ambience

Smooth Jazz Retro Vintage 1940s | Classic Winter Vibes & Cozy Jazz Ambience

Царь-Бомба. Чего испугался академик Сахаров, когда увидел взрыв 50 мегатонн?

Царь-Бомба. Чего испугался академик Сахаров, когда увидел взрыв 50 мегатонн?

Feed Your OWN Documents to a Local Large Language Model!

Feed Your OWN Documents to a Local Large Language Model!

Биномиальные распределения | Вероятности вероятностей, часть 1

Биномиальные распределения | Вероятности вероятностей, часть 1

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]