Haskell Course - Lesson 10 - Creating Type Classes and Instances

IOG Academy

Publisher: Youtube

Published: Dec 21, 2022

Description:

language:en;Repo: https://github.com/input-output-hk/haskell-course Playlist: https://youtube.com/playlist?list=PLNEK_Ejlx3x1D9Vq5kqeC3ZDEP7in4dqb Canvas: https://iohk.instructure.com/enroll/3BAAGG Outline: 0:00 - Outline 1:07 - Overloading 4:49 - Steps to create Type Classes and Instances 6:02 - Defining the Eq Typ Class 8:24 - Defining an instance for the Eq Type Class 12:24 - Mutual Recursion and Minimal Complete Definition 18:10 - Defining an instance for a parameterized type 25:09 - The WeAccept Type Class 30:33 - The Container Type Class 44:18 - Subclassing with the Ord Type Class 49:50 - Deriving 52:40 - Deriving can go wrong 57:10 - Tips for real-world coding #haskell #beginners #course;Science & Technology