@@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
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.
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
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.
Love that you're doing regular videos now. It's a niche audience, but this kind of content is much needed. Keep it up!
Thanks man. It's a niche... for now... ;)
@@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
Wow, great video, it gives a good grasp for the intuition of what is an Applicatives, Bravo !
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.
thank you for uploading this great tutorial. Your efforts really make abstract concepts a breeze.
Didn't clearly understand the applicative scenario. Can you provide any further resources I can read up on about it? Appreciate your effort!
ruclips.net/video/bK-Tz-GLfOs/видео.html
Thank you very much for this explanation.
Amazing!
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.
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
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.
Thanks for the video :)
ruclips.net/video/94bPH1u6kYo/видео.html :
spits coffee all over screen...