juan_gandhi: (Default)
See, to model a linear space is not a big deal at all. I mean, slap together a class type, etc.

What I need, though, is to model a category of linear spaces. Not just one specific instance, but a category of them. With morphisms. And not a skeleton (which reminds me platonic shadows in a cave, if you read his "Symposium").

And that's kind of too big for the simple tricks like Scala type classes and Scala path-dependent types. And I'm not interested in introducing something that cannot be grasped immediately by anybody who knows Scala.

So there.

Maybe I should start with a type class for categories. After all, a type class is a category.

What do you think?

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

November 2025

S M T W T F S
       1
23456 7 8
9 1011 12 1314 15
16171819 20 2122
23 24 252627 28 29
30      

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Nov. 29th, 2025 09:56 pm
Powered by Dreamwidth Studios