Eugenio
07/22/2018, 1:04 PMEugenio
07/22/2018, 1:05 PMwith(Functor::class of Either::class) { ... }
Eugenio
07/22/2018, 1:05 PMEugenio
07/22/2018, 1:08 PMKindId(Either::class)
because despite the fact that Either::class
is constant, it's not exposed in the signature and is only available in the compiled code!
So I'll fall back to KindId<Either<*,*>>()
🤷♂️Eugenio
07/22/2018, 1:08 PMEugenio
07/22/2018, 1:08 PMEugenio
07/22/2018, 1:08 PMpakoito
07/22/2018, 1:09 PMEugenio
07/22/2018, 1:09 PMEugenio
07/22/2018, 1:09 PMpakoito
07/22/2018, 1:09 PMpakoito
07/22/2018, 1:10 PMEugenio
07/22/2018, 1:10 PMEugenio
07/22/2018, 1:10 PMpakoito
07/22/2018, 1:11 PMpakoito
07/22/2018, 1:12 PMEugenio
07/22/2018, 1:14 PMEugenio
07/22/2018, 1:37 PMpakoito
07/22/2018, 1:38 PMEugenio
07/22/2018, 1:39 PMEugenio
07/22/2018, 1:39 PMEugenio
07/22/2018, 1:39 PMpakoito
07/22/2018, 1:39 PMEugenio
07/22/2018, 1:40 PMEugenio
07/22/2018, 1:40 PMpakoito
07/22/2018, 1:40 PMEugenio
07/22/2018, 1:43 PMEugenio
07/22/2018, 3:08 PMNested
, WHYYYYEugenio
07/22/2018, 3:09 PMNested
... a parametric Witness
? or is it a different type of Kind
altogether? if you encounter that, how can you go to the original type? unless you consider both to be original types?!Eugenio
07/22/2018, 3:11 PMKind<F, Kind<G, A>>
, so F
is the "real" type