shapeless-3
shapeless-3 copied to clipboard
Generic programming for Scala
Most of the extension methods couldn't be abstracted
## About this PR 📦 Updates * [org.scala-native:junit-plugin](https://github.com/scala-native/scala-native) * [org.scala-native:nscplugin](https://github.com/scala-native/scala-native) * [org.scala-native:sbt-scala-native](https://github.com/scala-native/scala-native) from `0.4.17` to `0.5.1` 📜 [GitHub Release Notes](https://github.com/scala-native/scala-native/releases/tag/v0.5.1) - [Version Diff](https://github.com/scala-native/scala-native/compare/v0.4.17...v0.5.1) ## Usage ✅ **Please merge!** I'll automatically...
I maintain an open source library at my company that has made it possible to cross-build a large, shapeless-heavy app for scala 2 and 3. Until recently I had just...
With Java 17 records are mainstream so it would be nice to support generic derivation with shapeless.
Since Java 17 we can define classes as sealed
```scala type Color = "Brown" | "White" | "Yellow" | "Black" ``` ```scala given Encoder[Color] = Encoder.derived ``` ```scala inline def derived[T](using gen: K0.Generic[T]): Encoder[T] = gen.derive(product, coproduct) ``` ```...
Structural types in Scala 3 work without reflection (see `Selectable`). It would be nice to support generic derivation for structural types.
- fix https://github.com/typelevel/shapeless-3/pull/234