Apr. 29th, 2015

juan_gandhi: (VP)
In short, there are small types and big types. Small types, you can call them data types, but that term is kind of taken.

Small types are what the OOP people draw in their class diagrams. Large types are whatever is available in your language.

Embedding (modeling) a small type in a large type is just Yoneda embedding.

So e.g. the diamond problem turns into the problem of building a limit or a colimit. Or rather a Kan extension of appropriate variance.

So-called inheritance is just about Kan extensions, which turn, when the base category ("large types" of a language) is a topos (has logic), into geometric morphisms... rather, into essential geometric morphisms.

That's it; that's why I just woke up and went down to write it down.

Maybe it's all pretty trivial, maybe not.

Upd:
http://arxiv.org/pdf/1206.0357.pdf
http://comonad.com/reader/2015/domains-sets-traversals-and-applicatives/
juan_gandhi: (VP)
Что в Москве будут менять все бордюры на поребрики.
juan_gandhi: (VP)
Что интересно, у самых тупых двоечников домашки обычно сделаны тип-топ, все правильно и аккуратненько. Средние студенты - раз на раз не попадается.

А смысл домашки тогда? Только для нормальных студентов.

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

June 2025

S M T W T F S
1 2345 6 7
8 9 10 11 121314
15161718 1920 21
22232425262728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 27th, 2025 07:31 pm
Powered by Dreamwidth Studios