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!
@pexoto50932 жыл бұрын
my man bartosz should have as much time as he wants cmon we love listening to him
@Olodus6 жыл бұрын
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!
@pmcate25 жыл бұрын
So void goes to all other objects because every set has the empty set as a subset?
@serhiiovcharuk39544 жыл бұрын
pmac rather because between any two sets there are an “empty” mapping (function), as empty subset of cartesian product, i. e. empty functional relation.
@lukaszstocki69984 жыл бұрын
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: "()". :)
@roysmith57114 жыл бұрын
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)