Тёмный

Monad Transformers - Ben Kolera 

Brisbane Functional Programming Group
Подписаться 700
Просмотров 10 тыс.
50% 1

Ben talks about monad transformers for configuration and error handling in functional code.

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 7   
@pdr.
@pdr. 8 лет назад
Code and slides at github.com/benkolera/talk-stacking-your-monads
@pdr.
@pdr. 8 лет назад
Slides also at stackingyourmonads.benkolera.com/
@peterstorm_io
@peterstorm_io 6 лет назад
Great talk, please stop panning away from the slides when he explains them though :D
@amogh09
@amogh09 4 года назад
What if my Monad transformer module (for example Logic transformer shown in the video) has a StateT inside it and I need the updated state for future bind calls to my module? Wouldn't the lift function unwrap the whole transformer and thus my state is lost?
@mariusraducan1348
@mariusraducan1348 5 лет назад
At 25:40 runApp e = flip runReaderT e . (runExceptT . unApp) and compiles
@bzhkl
@bzhkl 5 лет назад
aha! you are absolute right, we should run the outer layer first!
@aoeu256
@aoeu256 5 лет назад
You know it would be awesome if there were IDEs or GHCI front-ends that automatically did type-tetris for you [rearrange arguments when you get the order wrong, automatically lift and unlift arguments so that they are the right type like those autofix in Java IDEs]. Its really important for Monad transformers and Monadic code. The IDEs could also use rewrite rules to hide the Monad transformers as well showing an alternate view of code that is easy to understand rather than those zygo-ana-hylo-morphs.... and help you convert pure code to monadic code and back again... I was trying to build a simple code linter in Template Haskell, but I still need to learn more.
Далее
Next Level MTL - George Wilson - BFPG 2016-06
44:37
Просмотров 10 тыс.
In Haskell, less is more
57:51
Просмотров 22 тыс.
Лучше одной, чем с такими
00:54
Просмотров 754 тыс.
Teeth gadget every dentist should have 😬
00:20
Просмотров 2,2 млн
PPP 030402 - Monads
1:23:55
Просмотров 2,2 тыс.
George Wilson - The Extended Functor Family
21:57
Просмотров 16 тыс.
Monad Transformer State - Michael Snoyman
33:46
Просмотров 13 тыс.
Birth of BASIC
38:13
Просмотров 1,2 млн
Haskell Servant: Type-Level DSLs for Web APIs
48:12
Просмотров 12 тыс.
Production Haskell - Reid Draper
1:06:34
Просмотров 19 тыс.