Тёмный

Functors, Applicatives and Monads Tutorial | Simply Explained | F# Functional Programming 

Ben Gobeil
Подписаться 2,2 тыс.
Просмотров 8 тыс.
50% 1

For Freelance F# Software Development and Consulting, visit www.bengobeil.com/
Scott Wlaschin is a good additional resource:
fsharpforfunandprofit.com/pos...
Timestamps:
0:00 Intro
0:13 How these abstractions are typically explained
1:33 What is a functor
11:30 What is an applicative
16:16 What is a monad
22:30 Closing thoughts
Outro:
Artist: Lakey Inspired
Song: Warm Nights

Наука

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

 

5 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 12   
@abdulhamidalsalman
@abdulhamidalsalman 2 года назад
thank you for uploading this great tutorial. Your efforts really make abstract concepts a breeze.
@OlivierRevollat
@OlivierRevollat 2 года назад
Wow, great video, it gives a good grasp for the intuition of what is an Applicatives, Bravo !
@danielveronneau4590
@danielveronneau4590 3 года назад
Amazing!
@viniciusgajo1884
@viniciusgajo1884 3 года назад
Thank you very much for this explanation.
@torarinvik4920
@torarinvik4920 2 года назад
I love how you corrected my mistake I thought bind lowered the result of the function, For instance String -> Optional String then bind lowered the result to fit into another String -> Optional String function. This creates a zig-zag pattern and of course this is a code smell. Thank you for the correction. Now I understand that it lifts the function instead.
@sskeptix
@sskeptix 3 года назад
Thanks for the video :)
@tanjimbinfaruk9145
@tanjimbinfaruk9145 3 года назад
Didn't clearly understand the applicative scenario. Can you provide any further resources I can read up on about it? Appreciate your effort!
@OlivierRevollat
@OlivierRevollat 2 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-bK-Tz-GLfOs.html
@tanjimbinfaruk9145
@tanjimbinfaruk9145 3 года назад
Can't we get rid of the 0 case in isPositive function? Because if the input is 0, then bind won't call the isPositive function, essentially removing the need for checking 0? match num > 0 with | 0 -> None | 1 -> Some true
@bengobeil933
@bengobeil933 3 года назад
I think it would defeat the purpose of this contrived example. Rewatching the video, I feel its a very poor example. Check fsharpforfunandprofit for a better explanation.
@torarinvik4920
@torarinvik4920 2 года назад
I always thought of map as like this in an OO language a = Box(5).map(square) and result is Box(25). This might be wrong of course.
@averydford
@averydford 3 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-94bPH1u6kYo.html : spits coffee all over screen...
Далее
Stray Kids <ATE> UNVEIL : TRACK "Stray Kids"
01:28
Envy recreating this new trend ✨ #shorts
00:14
Просмотров 2,1 млн
Scott Wlaschin - Coding Like Frankenstein
57:02
Просмотров 1,9 тыс.
What the Functor? | Functors in Scala | Rock the JVM
24:43
The Death of Monads? Direct Style Algebraic Effects
17:13
What is a Monad? - Computerphile
21:50
Просмотров 595 тыс.
What the Heck Are Monads?!
21:08
Просмотров 69 тыс.
Get value out of your monad - Mark Seemann
58:59
Просмотров 24 тыс.
What is IO monad?
36:32
Просмотров 67 тыс.
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
КРУТОЙ ТЕЛЕФОН
0:16
Просмотров 1,2 млн