Releases: zio/izumi-reflect
Releases · zio/izumi-reflect
1.0.0-M6
- Update to Dotty
0.26.0
- Fix #32 resolve parameters in structural types (#66)
This allows polymorphic usage of Tags with structural types, e.g. the following will now work correctly:This also allows Tags for higher-kinded TagK's, which are encoded using structural types, to be resolved correctly and allows polymorphic injection of TagK's in distage modules:trait Typeclass[A] { type Out } def tagFor[A: Tag, B: Tag] = Tag[Typeclass[A] { type Out = B }] tagFor[Int, String].tag == Tag[Typeclass[Int] { type Out = String }].tag // true // `A` & `B` type parameters were substituted for Int & String in `tagFor`
def moduleWithTag[F[_]: TagK] = new ModuleDef { addImplicit[TagK[F]] make[Unit].fromHas( (tag: TagK[F]) => // (tag: TagK[F]) parameter no longer causes an error zio.console.putStrLn(s"Got TagK[F]=$tag") ) }
1.0.0-M5
1.0.0-M4
1.0.0-M3
1.0.0-M2
0.13.0-M1
First release of izumi-reflect
for Dotty! 🎉
0.12.0-M1
Build for Scala.js 1.0.0