F(by) 2017. Bartosz Milewski - A Crash Course in Category Theory.

แชร์
ฝัง

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

  • @demokraken
    @demokraken 5 ปีที่แล้ว +12

    Bartosz is the man whenever it comes to refresh my knowledge about Category Theory. I do recommend his in-depth videos about the theory. Thank you for all the effort!

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

    my man bartosz should have as much time as he wants cmon we love listening to him

  • @Olodus
    @Olodus 6 ปีที่แล้ว +2

    It feels like what he talks about on the last question fit very well into testing with QuickCheck in Haskell and its properties - category theory telling you what properties you can have as tests.
    I think I saw a another talk with a title sounding like it talked about that. Onto that one!

  • @pmcate2
    @pmcate2 4 ปีที่แล้ว

    So void goes to all other objects because every set has the empty set as a subset?

    • @serhiiovcharuk3954
      @serhiiovcharuk3954 4 ปีที่แล้ว

      pmac rather because between any two sets there are an “empty” mapping (function), as empty subset of cartesian product, i. e. empty functional relation.

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

    If by chance you language of choice is Swift then:
    "Void" is actually called "Never" (eg. fatalError "returns" Never).
    And Swift "Void" type is here called "Unit". As it has only one inhabitant namely an empty tuple: "()".
    :)

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

      This is a good idea.
      So, for Rust it is.
      Void is None
      and
      Unit is () which is an empty tuple as well.
      Sums are Enums (since you have more than two, it has composition built in)

  • @giganetom
    @giganetom 6 ปีที่แล้ว +7

    $ ghci
    > import Data.Void
    > map absurd []
    Laugh. :D

    • @W1z3k
      @W1z3k 6 ปีที่แล้ว +1

      Haha, I was skeptical at first, but then I launched ghci and typed in what you wrote, and I did laugh indeed. :D

    • @muntoonxt
      @muntoonxt 6 ปีที่แล้ว

      That was super practical. I'm gonna run a %s/\[\]/(map absurd [])/g right now.