Adventure with Types in Haskell - Simon Peyton Jones (Lecture 1)

Channel:jasonofthel33t · Length:1:33:36 · Published:2014-05-17 · Views:69140

Watch on YouTube

Summary

Simon Peyton Jones's first lecture on types in Haskell from the Oregon Programming Languages Summer School 2013. It covers type classes and how they relate to OOP, subtyping and polymorphism.

Why HN recommends it

Mostly cited by timestamp for specific explanations, such as how type classes map to OOP and why QuickCheck is a great type class example.

it's the coolest example of type classes Simon Peyton Jones knows and he explains why here (around 34-35 min) — HN, 2017

Programming language design · Functional programming

Subtitles (excerpt)

have been destroyed by previous lectures but now now things are going to be be comfortable and easy um so uh it's a it's big room but it would be 80 minute so it's this these are 80 minute slots right this is a long slot so it's uh tempted to go into autopilot and start reading your email but what would be more fun for me is if you would sort of interact a bit you know ask questions make comments and observations I don't know you all so some of you will know some stuff some of you won't know so much stuff please don't feel that your question is too stupid to ask right if you have a question in your mind you're not following something chances are there's at least another half dozen people in the room who are just wishing that somebody would ask that question so please go right ahead and do that and we will finish on time nevertheless um so I want to give you a um a little just start off by giving a little insight into the life which you have now introduced yourself that is the life of a programming language researcher so of course what programming language language researchers do is they invent programming languages and uh here is the typical life cycle of a programming language right so uh it's uh this is you

On Hacker News

Thankfully this fellow Simon Peyton Jones has a talk about how they map into OOP paradigm. "Classes, Jim, But Not as We Know Them — Type Classes in Haskell: What, Why, and Whither" [LINK] "Adventure with Types in Haskell" [VIDEO] [LINK] On the first lecture he discusses how Haskell relates to OOP in regards of subtyping and generic polymorphism and how although different on the surface they share… — pjmlp, 2025-01
Also: it's the coolest example of type classes Simon Peyton Jones knows and he explains why here (around 34-35 min): [VIDEO] — davnn, 2017-06
Yes Haskell type classes are interfaces from OOP point of view. And given time on the weekend I might try to find out the talk given by SPJ about this very issue. Polymorphism and dynamic dispatch are part of OOP. EDIT: Found Simon's talk Adventure with Types in Haskell, part 1 and part 2: [VIDEO] [LINK] At 1:01:01 on the first lecture he discusses how Haskell relates to OOP in regards of subtypi… — pjmlp, 2016-12
I've seen Evan's talk. Evan confuses the presentation of features with the value of those features. (I suppose one could solve the difficulties people have in learning Mathematics by throwing out everything after Algebra I; another solution, however, might be to do a better job teaching the more difficult stuff.) Just because you shouldn't expose new programmers to advanced concepts on the first … — ablesearcher, 2015-11

Related videos