No video

Haskell - Tutorial 6 - Functors, Applicative, Monads and Monoids

  Рет қаралды 4,630

James Hobson

James Hobson

Күн бұрын

In this tutorial we revisit type classes looking at some more abstract ones, functors, applicative, monads and monoids.
We also (finally) look at IO

Пікірлер: 23
@Honken
@Honken 3 жыл бұрын
13:56 "It's called pointless programming". Nearly fell off my chair there, close enough I guess :D
@jameshobson6965
@jameshobson6965 3 жыл бұрын
😂 its technically called "point free programming" but no one calls it that because the alternative is so much better
@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
@milind123456
@milind123456 3 жыл бұрын
Pretty good. I liked it very much. Thanks
@jameshobson6965
@jameshobson6965 3 жыл бұрын
Glad you liked it!
@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.
@jameshobson6965
@jameshobson6965 Жыл бұрын
When YT starts paying me, I’ll start editing videos…
@darkknight8207
@darkknight8207 3 жыл бұрын
it's very difficult to see.
@jameshobson6965
@jameshobson6965 3 жыл бұрын
I do apologise. I think the font gets bigger as I go along from tutorial 8ish. But it's still a problem. I don't really know how to know if my font is too small! Feel free to advise!
@madblocks2881
@madblocks2881 2 жыл бұрын
@@jameshobson6965 Oh that’s easy, if the area you’re actually typing in is one sixteenth of your screen, your video is gonna end up being fifteen sixteenths a dark gray background. Essentially, zoom in until what you type tends to run to the edge of the screen, and it will take the whole screen of the video.
@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
@danielmartchenkov7437
@danielmartchenkov7437 3 жыл бұрын
Out of curiosity, how much of a math(s) background do you have?
@jameshobson6965
@jameshobson6965 3 жыл бұрын
I did computer science and philosophy at university. The computer science was mostly theoretical so maths heavy, but not in a maths degree sense. I did mostly logic and philosophy of language in the other part of my degree which was also quite mathsy. So more than most but less than a maths major?
@danielmartchenkov7437
@danielmartchenkov7437 3 жыл бұрын
​@@jameshobson6965, oh, cool! I'm studying math now, and Haskell is super interesting from that perspective. Thanks for the videos!
@jameshobson6965
@jameshobson6965 3 жыл бұрын
No problem. If you want to read up on bigger links between functional programming and maths, I can recommend a few things?
@Augustine_354
@Augustine_354 2 жыл бұрын
@@jameshobson6965 I am pure math Msc, doing FP for a living now. Could you recommend something? I was reading some of "Functional pearls" recently but I am not fluent in FP from the "ArXiv" perspective ;)
@jameshobson6965
@jameshobson6965 2 жыл бұрын
Hmmm. I would recommend looking into recursion patterns. The motivating paper is 'Functional Programming with Bananas Lenses Envelopes and Barbed Wire' and then try to get your head around the haskell library (it's beautifully mad). Its a really good leg up into FP papers
@madblocks2881
@madblocks2881 2 жыл бұрын
Can you redo these videos with a bigger font?
Haskell - Tutorial 7 - GUI Programming
22:29
James Hobson
Рет қаралды 7 М.
а ты любишь париться?
00:41
KATYA KLON LIFE
Рет қаралды 3,6 МЛН
Get 10 Mega Boxes OR 60 Starr Drops!!
01:39
Brawl Stars
Рет қаралды 19 МЛН
What is a Monad? - Computerphile
21:50
Computerphile
Рет қаралды 600 М.
Haskell Course - Lesson 19 - Applicative Functors and Effects
1:18:28
Haskell - Tutorial 8 - Interpreters
15:48
James Hobson
Рет қаралды 5 М.
Haskell - Tutorial 9 - Adding functions to our Interpreters
39:14
James Hobson
Рет қаралды 2,7 М.
When RESTful architecture isn't enough...
21:02
Dreams of Code
Рет қаралды 272 М.
The purest coding style, where bugs are near impossible
10:25
Coderized
Рет қаралды 956 М.