Eugenio
07/22/2018, 10:02 PMEugenio
07/22/2018, 10:02 PMdiff▾
pakoito
07/22/2018, 11:02 PMraulraja
07/24/2018, 1:52 AMextensions
utilities with your stuff that generates the extensions from the type class instances? If we forward all type class methods to the data type as extension functions with codegen we no longer need those For type extensions
utilities.jacob
07/24/2018, 2:25 AMjacob
07/24/2018, 2:25 AMEugenio
07/24/2018, 7:34 AMEugenio
07/24/2018, 7:37 AMjacob
07/24/2018, 8:31 AMEugenio
07/24/2018, 9:18 AMpakoito
07/26/2018, 10:52 PMpakoito
07/26/2018, 10:54 PMgildor
07/27/2018, 3:21 AMEugenio
07/28/2018, 10:34 AMpakoito
07/28/2018, 8:34 PMpakoito
07/28/2018, 8:34 PMpakoito
07/30/2018, 1:49 AMpakoito
07/30/2018, 1:49 AMpakoito
07/30/2018, 1:49 AMpakoito
07/30/2018, 1:49 AMEugenio
07/30/2018, 8:49 AMEugenio
07/30/2018, 8:50 AMKind
, in my opinion, is that classes have to extend it, so it can't be applied to existing classes (which is why there's all the parallel ListK
, SequenceK
, etc), right?Eugenio
07/30/2018, 8:53 AMKind
, behind the scenes, was erased at runtime and was actually Any
? This way we could statically refer to any type at compile time as if it was Kind
, and one wouldn't even need to call fix
Eugenio
07/30/2018, 8:54 AMEugenio
07/30/2018, 8:57 AMkotlin.List
, kotlin.MutableList
, etc, these are called "builtins" and they are actually not hardcoded, since different platforms can have different versions of them (in fact they're shipped as metadata for runtime reflection)Eugenio
07/30/2018, 8:59 AMdh44t
07/30/2018, 9:19 AMdh44t
07/30/2018, 9:20 AMpakoito
07/30/2018, 9:41 AM