Haskell - Tutorial 11 - More Monads
50:40
Haskell - Tutorial 8 - Interpreters
15:48
Haskell - Tutorial 5 - Folding
20:21
3 жыл бұрын
Haskell - Tutorial 4 - Type Classes
24:02
Haskell  - Tutorial 3 - Data Types
17:04
Haskell - Tutorial 1 - GHC and Cabal
16:24
Пікірлер
@piraloco5864
@piraloco5864 3 ай бұрын
Love the video! Also, do you mind telling what colortheme you use?
@jameshobson6965
@jameshobson6965 3 ай бұрын
I’m not 100% sure, but it’s one of the default spacevim themes.
@mohamedhafidi4911
@mohamedhafidi4911 4 ай бұрын
you are just so good mashallah
@DmitryKvasnikov
@DmitryKvasnikov 8 ай бұрын
Perfect!!! Thank you very muxh! Could you recommend some reading regarding implementation of recursive function? I didn't quite understand the whole idea behind it ((
@Critic144
@Critic144 9 ай бұрын
Excellent explanation.
@obinator9065
@obinator9065 11 ай бұрын
least complicated Haskell program:
@anihadh
@anihadh 11 ай бұрын
You say x cons, I hear ex-cons 😆 Great series btw
@jmhimara
@jmhimara Жыл бұрын
"use do notation as little as possible".... I'm not sure I would agree with that. There's no good reason to avoid it, and it almost always makes monadic operations easier to write and reason about
@user-tm8vr4wz7w
@user-tm8vr4wz7w Жыл бұрын
awesome tutorial, could you continue to update them? And Could you share the source code so that we can read and run them easily?
@vm683
@vm683 Жыл бұрын
Please finish the tutorial they are actually very helpful. A short and Crisp video on concurrency in Haskell would be great too
@librarygangster9108
@librarygangster9108 Жыл бұрын
Thank you.
@sophiebosio8171
@sophiebosio8171 Жыл бұрын
Great video! Also, your theme is really cool, can I ask which one you use?
@jameshobson6965
@jameshobson6965 Жыл бұрын
@@sophiebosio8171 I have cheated! I use a vim distribution called spacevim with only a few modifications (and no modifications to the theme). I use the firacode font. I think that's it?
@sophiebosio8171
@sophiebosio8171 Жыл бұрын
@@jameshobson6965 Oh sweet! I might check that out, it looks really neat - thanks!!
@sophiebosio8171
@sophiebosio8171 Жыл бұрын
@@jameshobson6965 Wow, that sounds really great!! Thanks for all the tips! Looking at the docs, I think I'll try switching to spacevim and see how it goes
@joshuaworman4022
@joshuaworman4022 Жыл бұрын
oh i love this one step at a time approach to teaching. makes it so clear.
@blacknick3931
@blacknick3931 Жыл бұрын
I totally lost the mind trace when I watch this episode
@neolight1010
@neolight1010 Жыл бұрын
I've learned a lot from these tutorials. Thank you so much!
@saroamirkhanyan
@saroamirkhanyan Жыл бұрын
strToInt = foldl (\acc x -> acc * 10 + x) 0
@jameshobson6965
@jameshobson6965 Жыл бұрын
That’s super neat
@jameshobson6965
@jameshobson6965 Жыл бұрын
I guess you need ‘char2Int’ on x. But it’s a good spot. My solution was messy as hell. But that’s what you get when you don’t bother planning a video. Hope you found the video helpful
@TheGuitarboy69
@TheGuitarboy69 Жыл бұрын
I just wanna say that these tutorials are amazing! Hope that I can see new episodes in the future :)
@sebastianaguerre9064
@sebastianaguerre9064 Жыл бұрын
what interpreter ar you using ? were you have ur code
@paulpach
@paulpach 2 жыл бұрын
It is a good tutorial, but there is too much time spent on "ummmm... so... for example.... ummmm", You could easily cut 30%-50% of the time with some editing.
@levezinet
@levezinet 2 жыл бұрын
Excellent talk. As one gets older one's eyesight deteriorates. It's nearly impossible to read the tiny type and on a dark background. Would you consider making the talks more legible?
@librarygangster9108
@librarygangster9108 2 жыл бұрын
ty a lot !
@ivelten
@ivelten 2 жыл бұрын
I've been looking for a guide like this for Haskell in a long time. Thank you very much for it.
@naitikmundra8511
@naitikmundra8511 2 жыл бұрын
Great video as always! Just a piece of constructive criticism: Use bigger font. It will be much easier to read on smaller screens like those of laptops.
@zsh7862
@zsh7862 2 жыл бұрын
What font are you using Iosevka nerd font (what i'm using) makes the arrows look so ugly so your font would be nicer Also wondering what that color scheme is, and what terminal are you using?
@jameshobson6965
@jameshobson6965 2 жыл бұрын
Fira code retina (i think). I set most of this up years ago. I change my dot files at about the same rate apple changes their design language, which isn't that often
@chromosundrift
@chromosundrift 2 жыл бұрын
Nice content but the text is far too small for me to properly see.
@doglitbug
@doglitbug 2 жыл бұрын
Thank you for these videos!
@robertblackwell6261
@robertblackwell6261 2 жыл бұрын
A mathematician (or at least this mathematician) would describe fold(r/l) as "a function that collapses a list (or more generally a collection) into a single value by applying a binary operation to successive elements of the list (collection)". The l/r left, right distinction arises because not all binary operations are commutative and hence accumulator `op` x and x `op` accumulator are different. In order to apply fold(l/r) one needs a suitably behaved binary operation and a suitable initial value of the accumulator (that is where monoids come to the party). I am sure you know all of this. I only made the comment to show other Haskell newbies like me a colloquial description of fold. I endorse your opening statement that there are lots of blog posts and you tube videos about elementary Haskell, but few to none that get into the more tricky and deep details. So like many others I thank you for putting together this very extensive and useful tutorial.
@michael1
@michael1 8 ай бұрын
Yeah but it doesn't. I mean fold is named because it can do that and the examples you see in the documentation do that. But it can be used to create a structure, it doesn't necessarily collapse into a single value
@peterstorm_io
@peterstorm_io 2 жыл бұрын
Great video, hope you're still planning on doing the next video :)
@mentalflow
@mentalflow 2 жыл бұрын
Just curious, how do you display -> as arrow in vim?
@doglitbug
@doglitbug 2 жыл бұрын
11:54 Shows where to add in Shared C Lib to your make file, I required this for Tutorial 4 to compile
@MegaPacoquinha
@MegaPacoquinha 2 жыл бұрын
How can I write a xyParser so that when I execute runParser xyParser "xyghi" I return Just ((’x',’y’),"ghi") and when I run runParser xyParser "xgyhi" I get Nothing? Nothing?
@jameshobson6965
@jameshobson6965 2 жыл бұрын
Do you mean xyParser "xyghi"?
@MegaPacoquinha
@MegaPacoquinha 2 жыл бұрын
@@jameshobson6965 I meant "xgyhi" on the second case, so i need to have x followed by y or else i get Nothing
@jameshobson6965
@jameshobson6965 2 жыл бұрын
Oh I understand liftA2 (,) (char 'x') (char 'y')
@jameshobson6965
@jameshobson6965 2 жыл бұрын
Or equivalently: (,) <$> char 'x' <*> char 'y'
@MegaPacoquinha
@MegaPacoquinha 2 жыл бұрын
@@jameshobson6965 Oh that works! Can you explain me why (,) ?
@krumichPL
@krumichPL 2 жыл бұрын
You are my hero. Thank you
@mauroandretta47
@mauroandretta47 2 жыл бұрын
Hi, I would like to talk with you privately, is it possible to have your e-mail?
@JohnWick-mk4ve
@JohnWick-mk4ve 2 жыл бұрын
Hi.. Thanks for this. Can u also show how u have configured ur ide or post a link to it.. Larger font sizd would also help
@jameshobson6965
@jameshobson6965 2 жыл бұрын
I use SpaceVim with neovim. I have customised it a little, but not in any way that is obvious from the tutorials
@user-xm9xo7jg4u
@user-xm9xo7jg4u 2 жыл бұрын
Is the book you mentioned "Thinking with Types. Type-Level Programming in Haskell -- by Sandy Maguire" ?
@user-xm9xo7jg4u
@user-xm9xo7jg4u 2 жыл бұрын
Such a brilliant lecture and so hard.
@user-xm9xo7jg4u
@user-xm9xo7jg4u 2 жыл бұрын
You lectures are truly AMAZING. Love them so much.
@user-xm9xo7jg4u
@user-xm9xo7jg4u 2 жыл бұрын
This lecture fantastic. Though It takes me quite a long time to digest its content. Thanks so much for sharing such great lectures.
@afonsorafael2728
@afonsorafael2728 2 жыл бұрын
Keep going please
@user-xm9xo7jg4u
@user-xm9xo7jg4u 2 жыл бұрын
Such a great lecture. This is the best haskell tutorial on KZfaq and this channel is one of the most underrated channel. Thanks so much for your sharing.
@abcdefhhi3886
@abcdefhhi3886 2 жыл бұрын
Mashallah Brother insane tutorial may allah bless u 🙏
@arthurborisow1475
@arthurborisow1475 2 жыл бұрын
Nice video! Are you planning on continuing with the videos?
@madblocks2881
@madblocks2881 2 жыл бұрын
Can you redo these videos with a bigger font?
@AlgorithmEngineer
@AlgorithmEngineer 2 жыл бұрын
Great tutorial, it is really helpful for my functional programming module and I appreciate you taking the time to put this together. One piece of feedback, it is hard to see the command line text you are typing as whenever I pause or move my cursor on to the second screen to pause, the KZfaq tests covers it. I look forward to completing the tutorials.
@org.photonsphere
@org.photonsphere 2 жыл бұрын
I've recently found this cabal command: list-bin list path to a single executable
@kippie80
@kippie80 2 жыл бұрын
I'm getting the feeling that I'd really be missing a bash-like shell in RiscOS.
@jameshobson6965
@jameshobson6965 2 жыл бұрын
Luckily, you can install bash and gnu utils! Just look for them on the app store
@kippie80
@kippie80 2 жыл бұрын
Brings back memories of coding in Windows 3.1. I'd always hated that. But, in this case, I'm tolerating it as I can now appreciate how close to the hardware this OS is.
@wjm915x
@wjm915x 2 жыл бұрын
This is a great video. Great example of implementing a monad in an existing application and getting error handling. Thank you!
@wjm915x
@wjm915x 2 жыл бұрын
Great video, I'm just learning Haskell. I found that working your examples off to the side really helped me learn how to think in Haskell terms! Thank you!!
3 жыл бұрын
Nice tutorial!
@jameshobson6965
@jameshobson6965 3 жыл бұрын
I'm surprised you needed a tutorial 😜 or are you just here to make sure I did it justice?