Learn Lambda Calculus: The language with ONLY FUNCTIONS

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024
  • Learn nearly everything in Lambda Calculus, from the syntax to representing basic data types like booleans and numerals, to recursion.
    By the end of this video, you should be able to create nearly anything in this beautiful language that is the basis of functional programming.
    Resources:
    Learn X in Y minutes: learnxinyminut...
    Quickly go over what you just learned!
    A Tutorial Introduction to the Lambda Calculus: www.inf.fu-berl...
    A comprehensive PDF version of topics this video covers
    Computerphile's Video on Lambda Calculus: • Lambda Calculus - Comp...
    Coverage of the basics of Lambda Calculus
    Computerphile's Video on the Y Combinator: • Essentials: Functional...
    Interesting explanation regarding recursion without self-referencing
    #lambdacalculus #lambda #calculus #functionalprogramming #functions

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

  • @evanzhoudev
    @evanzhoudev  7 месяцев назад +32

    This video took me over 20 hours to write and edit (it's surprisingly hard to explain LC easily!), so if you learned something or enjoyed, please let me know. Greatly appreciated 🙏

    • @Ryan_Thompson
      @Ryan_Thompson 2 месяца назад

      Worth it. Best short presentation on lambda calc I’ve seen!

  • @1ballad
    @1ballad 7 месяцев назад +22

    The learning curve is very steep with this video holy

    • @evanzhoudev
      @evanzhoudev  7 месяцев назад +4

      I basically put everything I could reasonably teach about LC into this video; it is implied that you can pause and work some things out by hand to better understand it :)

    • @iamrising7176
      @iamrising7176 2 дня назад

      Very very steep. I just had to leave mid way.

  • @user-nx6wi6eh9v
    @user-nx6wi6eh9v 7 месяцев назад +4

    This is the first video I've seen from this channel, amazing. Cant believe you have this few subscribers. I wanted to learn functional programming for a while and i think this is the time to fully spec into it.

    • @evanzhoudev
      @evanzhoudev  6 месяцев назад

      Functional programming is quite beautiful once you really look into it!

  • @rcnhsuailsnyfiue2
    @rcnhsuailsnyfiue2 7 месяцев назад +6

    Great explainer! Gotta rewatch a few times to take it all in though 😅

    • @evanzhoudev
      @evanzhoudev  7 месяцев назад +1

      Yeah, pausing and rewatching is expected, LC is a heavy topic, and I crammed quite a lot into those few minutes

  • @gustavotatavo8215
    @gustavotatavo8215 7 месяцев назад +4

    Damn, gotta save this to rewatcj when I get my brainpower back

  • @Zeero3846
    @Zeero3846 29 дней назад

    Honestly, I wish math classes could have a whole brief summary like this beforehand so you can see where things are headed, so you aren't just grinding on with endless proofs with no clear goal in sight. You don't have to understand everything, but at least it might sound familiar by the time you get to revisit the subject.

  • @BCarli1395
    @BCarli1395 Месяц назад

    Thank you. This was very helpful.

  • @-N0PE-
    @-N0PE- 7 месяцев назад +1

    This was a really cool video. Thank you!

  • @alexion3007
    @alexion3007 7 месяцев назад +2

    Wow, I'm learning haskell and it does certainly seem quite similar to lambda calculus.

    • @evanzhoudev
      @evanzhoudev  7 месяцев назад +4

      There's a reason haskell logo is lambda symbol ;)

    • @freedmen123
      @freedmen123 3 месяца назад +1

      They're the same picture, except Haskell is boneless

  • @flavioryu5922
    @flavioryu5922 2 месяца назад

    PVZ music in a lambda calculus video? Amazing

  • @darqed
    @darqed 3 месяца назад +1

    I love λ

  • @Beatriz-wq4jr
    @Beatriz-wq4jr 3 месяца назад

    ....

  • @anon_y_mousse
    @anon_y_mousse 7 месяцев назад

    Can you imagine how inefficient everything would be if we had to write code that way. Unfortunately, some people still haven't learned the right lesson and we have a lot of people pushing for functional programming languages and using recursion everywhere. You should do a video on unwrapping recursion and understanding how to translate recursive algorithms into iterative forms to increase efficiency. I would suggest quick sort as an example because it's easy to understand and fun to write.

    • @evanzhoudev
      @evanzhoudev  7 месяцев назад +7

      functional programming isn't the best, but it's a pretty beautiful bridge between math and programming
      that also seems like a fun video idea, thanks for suggesting!

    • @anon_y_mousse
      @anon_y_mousse 7 месяцев назад +1

      @@evanzhoudev Perfect analogy, because as a bridge you walk over it and don't live on it. More people need to learn that lesson for sure.

    • @LambdaJack
      @LambdaJack 3 месяца назад

      ​@@anon_y_mousseYou have a nice excuse there. Need I say "Lambda Calculus" is a Straw Man. Lisp was discovered because LC was... inadequate.

    • @anon_y_mousse
      @anon_y_mousse 3 месяца назад

      @@LambdaJack Okay, and where did I advocate for Lambda Calculus? Did you not read where I said that functional languages were inefficient? If you're doing pure math, it might be okay, but not for programming.

    • @LambdaJack
      @LambdaJack 3 месяца назад

      @@anon_y_mousse You clearly have no clue what is a Link Register.