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

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

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

  • @Honken
    @Honken 4 года назад +3

    13:56
    "It's called pointless programming". Nearly fell off my chair there, close enough I guess :D

    • @jameshobson6965
      @jameshobson6965  4 года назад +1

      😂 its technically called "point free programming" but no one calls it that because the alternative is so much better

  • @milind123456
    @milind123456 4 года назад +1

    Pretty good. I liked it very much. Thanks

  • @jmhimara
    @jmhimara Год назад +1

    "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

  • @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 года назад +1

      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

  • @darkknight8207
    @darkknight8207 3 года назад +4

    it's very difficult to see.

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

      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!

    • @blocks.hollowgrahm
      @blocks.hollowgrahm 3 года назад +1

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

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

    Out of curiosity, how much of a math(s) background do you have?

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

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

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

      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

  • @paulpach
    @paulpach 2 года назад +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  2 года назад +3

      When YT starts paying me, I’ll start editing videos…

  • @blocks.hollowgrahm
    @blocks.hollowgrahm 3 года назад

    Can you redo these videos with a bigger font?