Haskell for Imperative Programmers #13 - Typeclasses

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ต.ค. 2024
  • In this video we explore typeclasses and how to instanciate them.

ความคิดเห็น • 15

  • @marc2509
    @marc2509 2 ปีที่แล้ว +9

    Grüße aus Deutschland! Thanks for the awesome series, started learning haskell because of the lockdown and your videos really help me!

  • @dharyllprinceabellana7065
    @dharyllprinceabellana7065 4 ปีที่แล้ว +16

    Thank you very much! Your Haskell tutorials are very helpful.

  • @markuswetterich3678
    @markuswetterich3678 4 ปีที่แล้ว +5

    Great videos keep it up :) May i ask u a question about haskell?
    How can I implement this class:
    class (Eq a) => Compare a where
    () :: a->a->Bool
    min :: a -> a-> a
    By just defining one of the 4 operators (and min).?

    • @jamesryland7104
      @jamesryland7104 3 ปีที่แล้ว +1

      I realize I am kinda randomly asking but do anybody know a good site to watch newly released movies online?

    • @ashtonalex3813
      @ashtonalex3813 3 ปีที่แล้ว

      @James Ryland Flixportal :P

    • @jamesryland7104
      @jamesryland7104 3 ปีที่แล้ว

      @Ashton Alex Thank you, signed up and it seems like a nice service =) I really appreciate it !

    • @ashtonalex3813
      @ashtonalex3813 3 ปีที่แล้ว

      @James Ryland no problem :D

    • @VinyZikss
      @VinyZikss 2 ปีที่แล้ว +1

      @@ashtonalex3813 bunch of bots

  • @Yetipfote
    @Yetipfote 4 ปีที่แล้ว +2

    So type classes are just a convenience not to hammer all the algebraic functions into your keyboard?

    • @adrianoii7214
      @adrianoii7214 3 ปีที่แล้ว +4

      If you are familiar with OOP, I think that typeclasses is something like Interfaces on C# and Java

    • @____-gy5mq
      @____-gy5mq 3 ปีที่แล้ว +2

      @@adrianoii7214 or traits in rust

  • @varshithreddy4632
    @varshithreddy4632 4 ปีที่แล้ว +1

    Omg,your videos are superbbbbb....very helpfull for the first time I'm able to understand Haskell

  • @guptadagger896
    @guptadagger896 2 ปีที่แล้ว +1

    Except for -40C = -40F 🙂

  • @womeninmovesolutionschanne1065
    @womeninmovesolutionschanne1065 3 ปีที่แล้ว

    I like this