Skip to content
HomeVideos
AllLongsCategoriesPlaylists
BooksBlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    The Algebra of Algebraic Data Types

    London Haskell

    4 HN mentions · mentioned in 4 months, 2013–2015

    YouTube

    1:04:35 · 27K views · Dec 24, 2012

    A London Haskell talk on the algebra of algebraic data types, showing how sum and product types behave like arithmetic. It frames types as numbers obeying algebraic laws.

    Cited as the author's own talk and a way to go deeper on type algebra, with a note that the audio is rough at the start.

    Software Engineering & LanguagesFunctional programmingProgramming language design
    1. 1:03:34
      Simon Peyton Jones - Linear Haskell: practical linearity in a higher-order polymorphic languageCurry On!19K views • 8 years ago
    2. 1:04:16
      Simon Peyton-Jones: Escape from the ivory tower: the Haskell journeyChurchill College, University of Cambridge170K views • 9 years ago
    3. 1:07:10
      Brian Beckman: Don't fear the Monadjasonofthel33t415K views • 13 years ago
    4. 1:54:46
      Lenses, Folds, and TraversalsEdward Kmett54K views • 13 years ago
    5. 12:56
      Stephen Wolfram's Introduction to the Wolfram LanguageWolfram924K views • 12 years ago
    6. 1:33:37
      Adventure with Types in Haskell - Simon Peyton Jones (Lecture 1)jasonofthel33t69K views • 12 years ago
    7. 56:58
      Philip Wadler - Propositions as Types (Lambda Days 2016)Erlang Solutions20K views • 10 years ago
    8. 1:03:29
      Maybe Not - Rich HickeyClojureTV181K views • 7 years ago
    9. 1:05:51
      The Functional Programmer's Toolkit - Scott WlaschinNDC Conferences79K views • 7 years ago
    10. 1:02:15
      Lambda Calculus - Fundamentals of Lambda Calculus & Functional Programming in JavaScriptFullstack Academy228K views • 9 years ago
    11. 50:49
      Domain Modeling Made Functional - Scott Wlaschin - KanDDDinsky 2019KanDDDinsky74K views • 6 years ago
    12. 43:23
      Edwin Brady - Idris 2: Type-driven development of Idris | Code Mesh LDN 18Code Sync20K views • 7 years ago
    13. 1:14:52
      Effective Programs - 10 Years of Clojure - Rich HickeyClojureTV176K views • 9 years ago
    14. 42:43
      "Propositions as Types" by Philip WadlerStrange Loop Conference144K views • 11 years ago
    15. 36:31
      Hey Underscore, You're Doing It Wrong!InfoQ141K views • 13 years ago
    16. 1:09:24
      Effective MLJane Street30K views • 10 years ago
    17. 53:22
      Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim WeirichConfreaks66K views • 13 years ago
    18. 6:23
      Simon Peyton Jones - Haskell is uselessbunidanoable385K views • 14 years ago
    19. 39:40
      "Type-Driven Program Synthesis" by Nadia PolikarpovaStrange Loop Conference15K views • 8 years ago
    20. 40:50
      Ruby Manor 3 - Programming with Nothing by Tom StuartConfreaks13K views • 13 years ago

    4 comments from Hacker News

    1. @nbouscalMay 2013· in “Learn You a Haskell for Great Good”

      There are two very different types of arguments typically made as to why to learn the more esoteric languages (Haskell, Lisp, Forth, others). The first is the more common: learning these languages exposes you to other ways of programming, which in turn makes you a better programmer no matter what language you're programming in. This is unquestionably true. Mainstream languages are constantly learning new things from these languages, which means you will be able to apply the techniques you learn from them to your code no matter what language you write in. I have the misfortune[1] of writing a lot of PHP at my day job, but it turns out even PHP has support for filter and map over arrays. If I hadn't learned functional programming, I would never have even looked for them. The other argument, which is made less often, is that you can actually write great software in these languages. This argument is made less often because we can obviously look at the market and the TIOBE index and see that Haskell is way down at #30 with 0.323% of the market share. However, there are really great programs made in Haskell (xmonad, for one). There are also tons of great programs made in Lisps, especially Clojure of late. So, this second argument is not entirely a dead end either. Revisiting something I mentioned in the first argument for a moment though, I would actually make a third argument that I rarely see. As I said, other languages are constantly learning new things from these languages. Has

      CitesView on HN
    2. @crntaylorJun 2013· in “The Algebra of Algebraic Data Types”

      Author of the blog post here. It's amusing to see this submitted by Don Stewart, since it was his explanation[0] of algebraic data types that first made them "click" for me! I think I forgot to mention him in this post, but I remembered in the talk[1]. If anyone's interested in this and where else it might go, I recommend read Don's SO answer[0], this SO question and the related answers[2] and these papers [3,4] on derivatives and dissections by Conor McBride. There are also several good blog posts[5] and a paper[6] by Brent Yorgey on the topic of combinatorial species, and of course Dan Piponi's blog[7] is a treasure trove of interesting insights at the intersection of math, physics and computer science. [0] [LINK] [1] this video (shitty audio for the first minute or 2 - it gets better). [2] [LINK] [3] [LINK] [4] [LINK] [5] [LINK] [6] [LINK] [7] [LINK] Edit: It should go without saying, but because a few people last time around seemed to think I was trying to pass this off as my own ideas, let me state that there is nothing original in this blog post. It's a repackaging of the ideas and work of lots of other people, all of whom are way smarter than I am.

      CitesView on HN
    3. @innguestApr 2015· in “A Rust Contributor Tries Their Hand at Go”

      I very much agree with you. A zip code is a string even though it looks like a number. Likewise C/Java/Go "types" are tags even though they look like types. Real types are numbers that obey type algebra, which C/Java/Go have no idea exists. The Algebra of Algebraic Data Types: this video

      CitesView on HN
    4. @crntaylorFeb 2013· in “The Algebra of Algebraic Data Types”

      "This guy who is discovering it by himself" is me (the OP) about a year ago! Derivatives of types to come in part II or III (or just watch the talk on YouTube: this video )

      CitesView on HN