Conversation

Honestly I don’t remember how I got there, I think I was generally reading about category theory and type theory, maybe I was reading something on Agda (not sure) and then it was an usual case of a tangential rabbit hole. Just found out what it means & how it could be implemented
2
Oh neat! Yeah it's surprisingly not too hard to implement them. But yeah, dealing with the implications of implementing them is kind of where the 'fun' comes in. Like, how to generated efficient code when types are first class.
1
3
Interesting! Do I understand it correctly that Point belongs to the Type set, and what’s possible to do with Type would be also applicable to point; I don’t understand how the “records” work there e.g is it a “property” of type that maps the vals, or..?
1
In the example I'm building up another record which is kind of like a 'module', which gives the type, and a constructor function. It's a bit pointless though - was more just experimenting with notation.
1
1