shapeless: Generic programming for Scala | This room deprecated in favour of #shapeless on the Typelevel Discord: https://discord.gg/bSQBZA3Ced
joroKr21 on main
Remove refinement from Witness.… Merge branch 'main' into witnes… Merge branch 'main' into witnes… and 2 more (compare)
joroKr21 on main
Update sbt to 1.7.1 Merge pull request #1263 from s… (compare)
joroKr21 on main
Update junit-plugin, junit-runt… Revert commit(s) ca4fe1de Merge branch 'main' into update… and 2 more (compare)
joroKr21 on main
Update sbt-scalajs, scalajs-com… Merge branch 'main' into update… Merge pull request #1260 from s… (compare)
joroKr21 on main
Update scala-compiler, scala-li… Merge pull request #1261 from s… (compare)
Generic
very quickly
LabelledGeneric
Poly
, one with custom typeclasses
Poly
, it's shorter
Poly
exposes type class instances (Case
), which you can use in your typeclass derivation
Poly
, you can ask for an implicit Case1
of that Poly
Case1
, Case2
...what have you)
TIL:
No, the subclass rule and the specificity of the type rule are both run and the score is tallied. If they are in opposite directions, it ends up with ambiguity.
So prioritising implicits to encode typelevel pattern matching precedence does not always work...disappointing