I feel like I should actually do something sometimes so here I go

Today's random fact:
Kotlin supports intersection types! You just are entirely unable to use them, however, without suppressing compile-time errors.

I don't know *why* anyone would have a practical purpose, but here is an example of it actually doing a thing

@sschr15
> I don't know *why* anyone would have a practical purpose

My intersection function?

@Kroppeb I don't think so. I implemented it myself, and I was mostly just irate that you have to specify all genetics of you want to specify one

@sschr15 (for those watching the convo)

The first intersection shows what you can do, but `cool2` and `cool3` actually show why I do it. If you have the intersection of collections of 2 different types where 1 extends the other, the stdlib one will give you the super class, while this version gives you the sub class which all items in the set should have anyway.

#Kotlin