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

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

Комментарии • 15

  • @ycombine1053
    @ycombine1053 3 года назад +32

    Love that you're doing regular videos now. It's a niche audience, but this kind of content is much needed. Keep it up!

    • @bengobeil933
      @bengobeil933  3 года назад +1

      Thanks man. It's a niche... for now... ;)

    • @masoodahmed4718
      @masoodahmed4718 3 года назад +3

      @@bengobeil933 😅 I love that optimism. I wish there were more adopters of F#, its a great tool. and thanks for the video I discovered your videos few weeks ago and saw that most of them were 7 or 8 months ago. I thought this guy is good with F# and functional programming he probably got discovered and hired by a big corporation that uses F# like Jet or some thing. but its nice to see you back

  • @OlivierRevollat
    @OlivierRevollat 2 года назад

    Wow, great video, it gives a good grasp for the intuition of what is an Applicatives, Bravo !

  • @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.

  • @abdulhamidalsalman
    @abdulhamidalsalman 2 года назад

    thank you for uploading this great tutorial. Your efforts really make abstract concepts a breeze.

  • @tanjimbinfaruk9145
    @tanjimbinfaruk9145 3 года назад +2

    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 года назад

      ruclips.net/video/bK-Tz-GLfOs/видео.html

  • @viniciusgajo1884
    @viniciusgajo1884 3 года назад

    Thank you very much for this explanation.

  • @danielveronneau4590
    @danielveronneau4590 3 года назад +2

    Amazing!

  • @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.

  • @tanjimbinfaruk9145
    @tanjimbinfaruk9145 3 года назад +1

    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.

  • @sskeptix
    @sskeptix 3 года назад

    Thanks for the video :)

  • @UniversalMagnetic72
    @UniversalMagnetic72 3 года назад

    ruclips.net/video/94bPH1u6kYo/видео.html :
    spits coffee all over screen...