breandan
01/11/2019, 10:58 PMfun List<TypeA>.doSomething() = Something()
and fun List<TypeB>.doSomething() = SomethingElse()
in the same scope for multiple dispatch on a generic type. What's interesting is that this behavior is not possible to implement with a true member function inside List
(due to type erasure), but since the call site knows the type then it will work! This is very cool! https://github.com/breandan/kotlingrad#howaltavir
01/12/2019, 4:25 AMaltavir
01/12/2019, 4:32 AMbreandan
01/13/2019, 6:25 PM<http://npm.mipt.ru|npm.mipt.ru>
a while ago but ran into some issues. I'll look into extending KMath and see what we can reusealtavir
01/13/2019, 6:27 PMaltavir
01/13/2019, 6:31 PMbreandan
01/13/2019, 7:43 PMaltavir
01/13/2019, 8:04 PM