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

August 2025

S M T W T F S
      12
3456789
10 11 12 13141516
171819 20212223
24252627282930
31      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 25th, 2025 02:49 am
Powered by Dreamwidth Studios